Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateLayer Two Labs, drivechains for Bitcoin

Re: linux-0.1.6-test7

To: Liberty Standard <newlibertystandard@gmail.com> NewLibertyStandard
Finally an easy one.  I see a way that could happen on a long operation
such as the initial download.  The TryLock bug is unrelated to the db
stuff.  Fix will be in test8.

I've been able to reproduce the db::open/close exception 3 times now on
32-bit linux by hitting it with a continuous flood of non-stop requests.
It looks like even periodically closing the wallet.dat database to
flush it gets the db::close exceptions.  I'm disabling the wallet flush
feature on Linux.  On Linux we'll never close a database handle until
we're ready to exit.  So far with this disabled, no exceptions.

I'm also implementing the orderly initial block download.  Instead of
naively requesting all the blocks at once, it'll request batches of 500
at a time.  This way, it'll receive the blocks before the retry timeout,
so it shouldn't go requesting it from other nodes unless it actually
doesn't receive them or it's too slow.  The change is in the requestee's
side, so this functionality won't be visible until your initial block
download is coming from a node that has the new version.

I'm going to test this some more before sending test8.

Liberty Standard wrote:

All writings · Satoshi era timeline

0:000:00