Proofgold Core 0.2.8rc1

by Brown, Thursday, November 11, 2021, 09:18 (24 days ago) @ Brown

Regarding Point 1, I wrote some code that filters out staking with assets below the minimum. In staking.ml:

replace

let rec hlist_stakingassets blkh alpha hl n =
if n > 0 then
match hl with
| HCons((aid,bday,obl,Currency(v)),hr) ->

with

let rec hlist_stakingassets blkh alpha hl n =
let minamt =
if blkh < 5000L then
0L
else if blkh < 16000L then
10000000000L
else if blkh < 18000L then
100000000000L
else if blkh < 20000L then
1000000000000L
else
10000000000000L
in
if n > 0 then
match hl with
| HCons((aid,bday,obl,Currency(v)),hr) when v >= minamt ->


Complete thread:

 RSS Feed of thread

powered by my little forum