Syscoin 4.1.2.1 Release
ZDAG fixes + miner code related to input conflicts (#392)
- ZDAG fixes + miner code related to input conflicts
fixes #391
-
Update configure.ac
-
add existsConflict logic
modify removeConflicts to return a bool (for miner) if conflict got removed so miner can try again to create a new block. Also miner verifies inputs are valid or rejects/clears tx because a remnant from a input conflict where one got mined and the other stays (removeConflicts returns false but the input isn't valid in the mainchain because its spent)
zdag uses existsConflict so it doesnt remove it and subsequent calls pass to verifyzdag in the event of an error the first time due to inputs conflict
- remove graph ordering by time logic
txmempool has a comparator which does hash if the ancestor account is equal so fall back to time in that case
- rm graph