BitgesellOfficial / bitgesell

Bitgesell (BGL) is a digital currency with built-in scarcity
https://www.bitgesell.ca
MIT License
25 stars 37 forks source link

Fix feature_maxuploadtarget functional test case #108

Closed gitcoindev closed 1 year ago

gitcoindev commented 1 year ago

Description

This pull requests fixes feature_maxuploadtarget.py functional test case.

Notes

The pull request contains sync with latest bitcoin core updates and I fixed myself values for BGL network. Since the block size is reduced 10x it is also expected that the number of iterations to reach the maxuploadtarget after requests are rejected increases.

Note: this is a long running test case, therefore it took long to fix and verify. I triggered 5 times and average test execution takes ~ 7m37s. This is caused by the fact that around 8120 requests have to made until BGL node rejects new requests and disconnects.