bitcoind – Bitcoin Cost Processing

0
71


I am at the moment trying to create an internet site the place Bitcoin Core is used as a fee processor.

I initially deliberate on making the consumer enter a xpub, however after seeing points like hole restrict on Exodus, I made a decision to as a substitute have a proxy pockets which might redirect to the pockets that the consumer specifies.

Each time a consumer is created a bitcoin pockets can also be created with a reputation that uniquely identifies that consumer.

I at the moment have 4 major questions,

1: What’s the reasonable most wallets I can have, I perceive that Bitcoin core doesn’t have any particular restrict and that the restrict relies on RAM, however what’s a practical restrict for a 2GB RAM VPS, I’ve seen one other submit saying that they had 100k/1m wallets, I might solely like to carry round 10k-100k, Is that possible with 2GB of RAM? I additionally see “unloadwallet”

2: Handle rotation, I might prefer to ideally rotate between addresses, since I assume this may lower charges, for the reason that payout needs to be despatched on the finish of the day, its preferable to have much less addresses sending to an handle means much less charges? How would I accomplish this? It appears getnewaddress generates a distinct handle each time, ought to I merely retailer such addresses in a database and solely generate a brand new one if all are getting used proper now? or is there a greater method to do it inside Bitcoin Core?

3: listreceivedbyaddress, Since I will be rotating addresses, how would I be capable of inform the date of a transaction, to make sure that the date is > invoice_creation_date?

4: I’m at the moment utilizing pruned mode, on 7GB, Will this trigger any points? trigger sure transactions to be forgotten one way or the other?

I might admire any assist, Thanks. <3

LEAVE A REPLY

Please enter your comment!
Please enter your name here