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 - dead sockets problem

To: Liberty Standard <newlibertystandard@gmail.com> NewLibertyStandard
I see what happened.  All your sockets went dead somehow.  You had no
communication with the network, but because you had 8 zombie
connections, it thought it was still online and kept generating blocks.
You can tell this is happening when your blocks are numbered
sequentially, without other people's blocks interspersed, like:
2/unconfirmed
3/unconfirmed
4/unconfirmed
5/unconfirmed
6 blocks
7 blocks

It's implausible that you would be the only one to find blocks for 6
blocks in a row like that.

When you exited and restarted, it connected and downloaded 45 blocks
that the network found in your absence.  Since your blocks were not
broadcast to the network immediately, the network went on without them.

It sounds like you had exactly the same problem on Wine.  There's
clearly something about socket handling on Linux that's effecting it
either way.

I'll start researching this.  Ultimately if I can't find the root of the
problem, I'll have to make some kind of mechanism to watch for an
absence of messages and disconnect.  The only workaround for you right
now would be to exit and restart more often.

All but one of your node connections went dead at the same time, one
shortly after.  IRC was still working, so it wasn't that you were
offline from the internet.

I wonder if the status of blocks should say "#/unconfirmed" all the way
up to maturity (119/unconfirmed then 120 blocks) instead.  The meaning
of the number isn't as strong for blocks as for transactions.

I think it would be an improvement not to count one's own blocks as
confirmations.  A drawback would be that the status numbers shown by
different nodes would not match.  The status number would no longer be
coordinated with the maturity countdown on blocks either.  A lighter
option would be a special case only if all confirmations are your own.

Liberty Standard wrote:
...

All writings · Satoshi era timeline

0:000:00