OmniLayer / OmniJ

OmniLayer for Java, JVM, and Android
Apache License 2.0
133 stars 89 forks source link

Remove long delay in re-org RegTests #234

Open msgilligan opened 1 year ago

msgilligan commented 1 year ago

Issue #185 was fixed by adding delays to avoid duplicate block errors in ProcessNewBlock.

One of the delays is 2 minutes long and greatly increases (more than doubles on my Mac) the time to run the regTests.

In a comment on Issue #185, @Bushstar suggests the following:

The alternative [mechanism to avoid duplicate block errors] is to generate [blocks paying] to different addresses.

We should investigate implementing this to speed up the tests.