Coinbase Maturity
ycagel opened this issue · 1 comments
Awesome you found this @barrystyle ! Thanks for the contribution. It looks like there might be a couple of other places where `COINBASE_MATURITY_2` needs added properly to fix the issue as @beggsdl mentioned above.
txmempool.cpp needs an additional COINBASE_MATURITY_2
entry:
Lines 535 to 538 in 1c2c656
Here is txmempool.cpp COINBASE_MATURITY_2
in 7.17.3:
Lines 522 to 529 in 258afac
Also in src/wallet/wallet.cpp looks like we need change to COINBASE_MATURITY_2
as well:
digibyte/src/wallet/wallet.cpp
Lines 2904 to 2911 in 1c2c656
Here is what 7.17.3 shows:
digibyte/src/wallet/wallet.cpp
Lines 4419 to 4426 in 258afac
V7.17.3 mentions COINBASE_MATURITY_2
in these locations:
current 8.22 including this PR onlys shows COINBASE_MATURITY_2
in 3 places outside of tests:
I can add additions on to this PR @barrystyle or you can modify yours. Just let me know.
Originally posted by @JaredTate in #157 (comment)