ord icon indicating copy to clipboard operation
ord copied to clipboard

Node TOO large - The Largest node in the world

Open btcmachineordinals opened this issue 1 year ago • 11 comments

Hello!

We have a massive issue with all versions of ord for our node.

We basically have hundreds of thousands of ordinals that we have accumulated since the inception of Ordinals while creating our ecosystem.

These ordinals keep getting airdrops.

We currently have over .4 BTC only in SATS padding these ordinals.

ORD BREAKS completely when trying to run anything.

We are not able to use any inscribe or send functions anymore, it times out.

And running commands like wallet balance or wallet receive will take about 30 minutes.

Many OG devs have looked into this and came to the conclusion that you guys would need to push a custom update to handle extremely large ord nodes.

What should we do? We are currently using custom bitcoin-cli functions to build commands to send ordinals but its getting weird when trying to send runes out of the node

HELP!

btcmachineordinals avatar Nov 14 '24 04:11 btcmachineordinals

Scammer @cryptoni9n

so7ow avatar Nov 14 '24 12:11 so7ow

#3142 was merged earlier this year to deal with this type of an issue. @btcmachineordinals what version of ord are you currently experiencing this issue with? Can you paste the timeout message here so we can get more insight to the problem?

cryptoni9n avatar Nov 14 '24 19:11 cryptoni9n

All Outputs are above dust limit note: run with "RUST_BACKTRACE=1" environment variable to display a backtrace

this is the error

btcmachineordinals avatar Nov 14 '24 23:11 btcmachineordinals

Scammer @cryptoni9n

just banned Elsonbastey from the org

raphjaph avatar Nov 15 '24 00:11 raphjaph

#3142 was merged earlier this year to deal with this type of an issue. @btcmachineordinals what version of ord are you currently experiencing this issue with? Can you paste the timeout message here so we can get more insight to the problem?

Yes, version would be great to know.

The problem still is that we build the whole wallet state with each wallet subcommand. A quick fix would be to increase the timeout limit and retry in the background. A proper solution would be to put the wallet state into the wallet.redb database and then only update values that have changed. This is what Sparrow and Bitcoin Core do with their respective wallet databases.

raphjaph avatar Nov 15 '24 00:11 raphjaph

I am currently on 0.21.1, ill update let me check

btcmachineordinals avatar Nov 15 '24 00:11 btcmachineordinals

Could you also provide a bit more information on the size of the wallet, specifically how many outputs?

raphjaph avatar Nov 15 '24 02:11 raphjaph

Could you also provide a bit more information on the size of the wallet, specifically how many outputs?

About 96 446

btcmachineordinals avatar Nov 15 '24 16:11 btcmachineordinals

limiting outputs (<1000) per wallet helps

1stBitcoinSent avatar Nov 19 '24 07:11 1stBitcoinSent

Is this something I should be editing on my side? I am truly a newbie here

btcmachineordinals avatar Nov 20 '24 22:11 btcmachineordinals

About 96 446

That is a lot of outputs.

This would probably require us to move forward with #3991. ord wallet would then work similar to Sparrow in that it manages a database that loads output information once and then either adds or invalidates outputs when new transactions come in. Tbh, this is not high priority for us at the moment. I can look into it tomorrow and see how much work it would be. If you find someone willing to take the lead on this I'd be happy to help and review PRs though!

raphjaph avatar Nov 21 '24 09:11 raphjaph