M
M
Mouvdy2021-05-27 00:45:16
bitcoin
Mouvdy, 2021-05-27 00:45:16

How to speed up bitcoin?

Hello,

There are 2 servers, main and backup server, each has a bitcoin node with identical wallet.dat files.

The server processes the transaction through the walletnotify option in the config.

The problem is that in 99% of cases, the operation through walletnotify is processed first by the backup server, and not by the main one.

Both servers are at Hetzner.

The difference in time in processing the operation between the backup server and the main one is measured in milliseconds (<1 sec)

bitcoin-cli --getinfo
{
  "version": 190200,
  "protocolversion": 70015,
  "blocks": 685072,
  "timeoffset": 0,
  "connections": 162,
  "proxy": "",
  "difficulty": 25046487590083.27,
  "chain": "main",
  "walletversion": 169900,
  "balance": 0.00009219,
  "keypoololdest": 1615197403,
  "keypoolsize": 2036,
  "paytxfee": 0.00000000,
  "relayfee": 0.00001000,
  "warnings": ""
}


The connections: 162 value is about the same on the main and backup servers.

What can be done, where to mark the server, what to speed up, so that the main server will be the first to process the operation ..? The question is exactly how to speed up the processing by the "main server" as much as possible without setting delays, etc. to the backup server.

I will be glad to any ideas and suggestions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
Uno, 2021-06-07
@Noizefan

Are you sure you need two btc full nodes?
Blockchain, in fact, is now needed only by those who need it specifically and without options. In all other cases, any lib in many languages ​​is enough for any project ... except if it's not a block
explorer that you backup there? Do you think that all peers are not enough as backups?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question