Proofgold Core 0.2.8rc1

by Brown, Tuesday, November 09, 2021, 20:03 (26 days ago) @ BlakeKeiller

Three things worth looking into:

1. I see the checks for a minimum amount for staking in block.ml (in check_hit_b), but I don't see corresponding code in staking.ml. It looks like if someone has is staking with the current code they could stake an invalid block using an asset below the minimum amount. Am I missing where the checks are?

2. What is the deltahex command? It doesn't seem to do anything except get the block delta from the database and ignore it.

3. Sometimes my database gets corrupted and I have to copy a backup and resync from there. It seems likely that there some violation of atomicity in the current implementation. Someone suggested possibly using "Irmin." I'm reluctant to suggest this myself because every dependence on third party libraries makes it more likely that there could be a consensus issue with people running in different environments. It's already uncomfortable that the implementation uses Zarith/libgmp for ECC operations.


Complete thread:

 RSS Feed of thread

powered by my little forum