Saturday, November 23, 2024

bitcoind – Handle a number of customers wallets for internet pockets service

This already summaries the difficulty I am at present attempting to determine to calculate the transaction charge to stop detrimental stability.

(testnet) I attempted utilizing createrawtransaction answered.
Once I tried to ship all stability to an tackle, the txid was created efficiently utilizing createrawtransaction however after I ran the fundrawtranaction on that txid it confirmed

error code: -4
error message:
Inadequate funds

The objective is to calculate transaction charge earlier than hand to examine both ample stability is accessible of an account utilizing sendfrom

To handle a number of customers to isolate customers’ balances as this.

EDIT1:

If utilizing estimatesmartfee it’s exhibiting the charge:

bitcoin-cli -testnet estimatesmartfee 6
{
  "feerate": 0.00501921,
  "blocks": 6
}

When calling sendfrom for whole stability switch:

bitcoin-cli -testnet sendfrom <account> <tackle> <quantity>
error code: -4
error message:
Error: This transaction requires a transaction charge of no less than 0.00067257

Is there a technique to get 0.00067257 the charge half earlier than ship the transaction quantity and set it in order that account stability will not go detrimental for multi accounts pockets.

Edit 2:

I discovered that accounts are deprecated.

And multi pockets creation/load/unload on runtime is underway to 0.17.0

So what could be one of the best strategy to deal with a number of customers bitcoins in isolation on a full node to stop detrimental stability.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles