kyokan / bob-wallet

Bob Wallet is a GUI for DNS Record Management and Name Auctions on Handshake. It includes an integrated full node: hsd
https://www.bobwallet.io/
GNU General Public License v3.0
380 stars 92 forks source link

Batching only half working (ubuntu, Bob 2.0) #613

Open kitschbent opened 1 year ago

kitschbent commented 1 year ago

My non-technical contribution...

The batching function in 2.0 isn't working fully. (Rithvik you might recall you linked me to a preview of this some months ago to fix an issue of mine, so the comparison is between the modified 1.0 I was using (yours) and batching in 2.0). My assumption is that 2.0 batching should be more optimized, a la the modified 1.0.

Let's say I have.... 739 names I'd like to transfer from one wallet to another.

These should ideally be batched into the following Txs

100,100,100,100,100,100,100,39

In the modified 1.0, what would happen is these would be batched in 8 Txs, as represented above. And it worked terrifically.

In 2.0 batching (I'm on Ubuntu), only the first 100 are sent. The remaining 7 Txs never appear in the debug log at all, I'm only finding the creation of 1 single Tx. And, it works fine, goes to mempool, and finalizes just like it should.

So, batching is sort of halfway working.

rithvikvibhu commented 1 year ago

You're right, in https://github.com/kyokan/bob-wallet/pull/546 the behavior was to send all N txs at once, but with https://github.com/kyokan/bob-wallet/pull/569, we changed it to one tx at a time, this was intentional:

I think we can add that back in once: