need to improve the Bitcoin deposit address creation #357

Closed
opened 2022-05-02 13:14:14 +00:00 by bobinson · 29 comments
bobinson commented 2022-05-02 13:14:14 +00:00 (Migrated from gitlab.com)

Right now the deposit address creation is a slow process as this is essentially making the related Bitcoin node unresponsive for a long period.

This will involve using libbitcoin library and upgrading the Secp256k1 library

Right now the deposit address creation is a slow process as this is essentially making the related Bitcoin node unresponsive for a long period. This will involve using libbitcoin library and upgrading the Secp256k1 library
vampik commented 2022-05-05 12:28:28 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2022-05-13 05:19:32 +00:00 (Migrated from gitlab.com)

mentioned in commit 6045d6479ead9e1f4c802b12198fb338734a47a3

mentioned in commit 6045d6479ead9e1f4c802b12198fb338734a47a3
hbelakon commented 2022-05-16 04:28:08 +00:00 (Migrated from gitlab.com)

please assign to proper Epic

please assign to proper Epic
vampik commented 2022-05-16 06:39:34 +00:00 (Migrated from gitlab.com)

mentioned in commit 4e8adec693da1da780330e2470fce17c2335c6cd

mentioned in commit 4e8adec693da1da780330e2470fce17c2335c6cd
vampik commented 2022-05-16 06:39:34 +00:00 (Migrated from gitlab.com)

mentioned in commit c1deaa37744e6de4b0bcd88623b9e79d58ea3cde

mentioned in commit c1deaa37744e6de4b0bcd88623b9e79d58ea3cde
vampik commented 2022-05-16 06:39:34 +00:00 (Migrated from gitlab.com)

mentioned in commit 1592372ec01bdb363af1552524bc9a4e36669694

mentioned in commit 1592372ec01bdb363af1552524bc9a4e36669694
vampik commented 2022-05-16 06:39:35 +00:00 (Migrated from gitlab.com)

mentioned in commit 785455c7adb1d42b7e5b825cea8353a8f4cead40

mentioned in commit 785455c7adb1d42b7e5b825cea8353a8f4cead40
vampik commented 2022-05-16 06:41:42 +00:00 (Migrated from gitlab.com)

mentioned in merge request !116

mentioned in merge request !116
vampik commented 2022-05-17 06:31:48 +00:00 (Migrated from gitlab.com)

mentioned in commit 5d346be84ca7ad701d00af74be9aa2ed2282612f

mentioned in commit 5d346be84ca7ad701d00af74be9aa2ed2282612f
vampik commented 2022-05-19 11:27:31 +00:00 (Migrated from gitlab.com)

mentioned in commit 2bdb7887b61f86b564aa53126516d9c0d2beda73

mentioned in commit 2bdb7887b61f86b564aa53126516d9c0d2beda73
vampik commented 2022-05-23 06:07:50 +00:00 (Migrated from gitlab.com)

mentioned in commit 4cea6bd844daf271f6d2ee12da1e040a7836ed4a

mentioned in commit 4cea6bd844daf271f6d2ee12da1e040a7836ed4a
vampik commented 2022-05-23 06:07:50 +00:00 (Migrated from gitlab.com)

mentioned in commit c8aad3048d6546e5a55831968ff2688c5d0518aa

mentioned in commit c8aad3048d6546e5a55831968ff2688c5d0518aa
vampik commented 2022-05-23 06:10:09 +00:00 (Migrated from gitlab.com)

mentioned in commit 89da6aa4ee430db3179ae07570a774b114d17d6d

mentioned in commit 89da6aa4ee430db3179ae07570a774b114d17d6d
vampik commented 2022-05-23 06:11:59 +00:00 (Migrated from gitlab.com)

mentioned in merge request !118

mentioned in merge request !118
vampik commented 2022-05-24 04:37:01 +00:00 (Migrated from gitlab.com)

mentioned in commit de085dfb69b2d273f235f375b5769ac595c053a8

mentioned in commit de085dfb69b2d273f235f375b5769ac595c053a8
vampik commented 2022-05-31 07:25:48 +00:00 (Migrated from gitlab.com)

mentioned in commit de3cfafa79449f05ec6d200fb7404f43d2ced18f

mentioned in commit de3cfafa79449f05ec6d200fb7404f43d2ced18f
vampik commented 2022-05-31 07:25:48 +00:00 (Migrated from gitlab.com)

mentioned in commit 7055649c104c8917babc21ae4f1a8f17f79b7c41

mentioned in commit 7055649c104c8917babc21ae4f1a8f17f79b7c41
vampik commented 2022-05-31 07:25:48 +00:00 (Migrated from gitlab.com)

mentioned in commit 6891b615a9b3db9a064193c74c8fcdab814dc836

mentioned in commit 6891b615a9b3db9a064193c74c8fcdab814dc836
vampik commented 2022-05-31 07:25:48 +00:00 (Migrated from gitlab.com)

mentioned in commit 287feb05740c0fa8b3c1469f7ee85f6fd02e48b3

mentioned in commit 287feb05740c0fa8b3c1469f7ee85f6fd02e48b3
vampik commented 2022-06-10 06:52:50 +00:00 (Migrated from gitlab.com)

mentioned in commit fd50f579485b1e8a8ce1e01db0ada0f87ee3a4cc

mentioned in commit fd50f579485b1e8a8ce1e01db0ada0f87ee3a4cc
serkixenos commented 2022-06-16 02:38:36 +00:00 (Migrated from gitlab.com)

assigned to @serkixenos

assigned to @serkixenos
vampik commented 2022-07-07 00:53:24 +00:00 (Migrated from gitlab.com)

mentioned in commit 3b5e928094

mentioned in commit 3b5e9280940c4b4bd573868be6d10f813883e917
serkixenos commented 2022-07-07 00:53:24 +00:00 (Migrated from gitlab.com)

mentioned in commit 629a6672fd

mentioned in commit 629a6672fd3f8bfdabed5fd9c5cf671c2d6db096
serkixenos commented 2022-07-07 00:58:37 +00:00 (Migrated from gitlab.com)

assigned to @prandnum

assigned to @prandnum
prandnum commented 2022-07-09 17:58:16 +00:00 (Migrated from gitlab.com)

please provide the verification steps.

please provide the verification steps.
prandnum commented 2022-07-11 15:53:46 +00:00 (Migrated from gitlab.com)

@bobinson could you please provide the scenario which needs to be verified for this bug.

@bobinson could you please provide the scenario which needs to be verified for this bug.
bobinson commented 2022-07-12 08:27:08 +00:00 (Migrated from gitlab.com)

Hi - On the current mainnet, ie both Bitcoin and Peerplays, addition of a deposit address results in a wait for approx 1 hour. Along this entire duration the sidechain operations cannot be performed as the Bitcoin node will be busy. With the newer libbitcoin library, we are anticipating faster functionality from the Sidechain plugin. In a nutshell the functionality remains the same but the time taken must be reduced.

Hi - On the current mainnet, ie both Bitcoin and Peerplays, addition of a deposit address results in a wait for approx 1 hour. Along this entire duration the sidechain operations cannot be performed as the Bitcoin node will be busy. With the newer libbitcoin library, we are anticipating faster functionality from the Sidechain plugin. In a nutshell the functionality remains the same but the time taken must be reduced.
serkixenos commented 2022-07-26 14:28:07 +00:00 (Migrated from gitlab.com)

The actual problem here is a wallet rescaning, which happens whenever we import new address into the wallet.

Ideally, we need transaction indexing by address, which is discussed from time to time, but also implemented in other clients:

https://github.com/bitcoin/bitcoin/pull/14053
https://bitcoincore.reviews/14053
https://github.com/btcsuite/btcd/issues/190

We added libbitcoin to our code base under this ticket. We will continue investigating libbitcoin features under new ticket. The goal is to get transaction indexing by address, and avoid wallet rescaning.

The actual problem here is a wallet rescaning, which happens whenever we import new address into the wallet. Ideally, we need transaction indexing by address, which is discussed from time to time, but also implemented in other clients: https://github.com/bitcoin/bitcoin/pull/14053 https://bitcoincore.reviews/14053 https://github.com/btcsuite/btcd/issues/190 We added libbitcoin to our code base under this ticket. We will continue investigating libbitcoin features under new ticket. The goal is to get transaction indexing by address, and avoid wallet rescaning.
serkixenos (Migrated from gitlab.com) closed this issue 2022-07-26 14:28:20 +00:00
serkixenos commented 2022-07-26 14:41:07 +00:00 (Migrated from gitlab.com)

mentioned in issue #410

mentioned in issue #410
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#357
No description provided.