CryptoFly.us | CRYPTOCURRENCY BITCOIN SHIRTS CLOTHING APPAREL HATS

CRYPTO NEWS

Why do you have to mine 432 blocks to activate segwit on regtest?

According to Rusty Russel, you need to mine 432 blocks to activate segwit on regtest. Why this specific blockheight?

Sources:

Crypto Hats, Crypto Shirts, Crypto Socks, Crypto Clothing

Manage multiple users wallets for web wallet service

This already summaries the issue I’m currently trying to figure out to calculate the transaction fee to prevent negative balance. (testnet) I tried using createrawtransaction answered. When I tried to send all balance to an address, the txid was created successfully using createrawtransaction but when I ran the fundrawtranaction on that txid it showed error::Listen

This already summaries the issue I’m currently trying to figure out to calculate the transaction fee to prevent negative balance.

(testnet) I tried using createrawtransaction answered. When I tried to send all balance to an address, the txid was created successfully using createrawtransaction but when I ran the fundrawtranaction on that txid it showed

error code: -4 error message: Insufficient funds 

The goal is to calculate transaction fee before hand to check either sufficient balance is available of an account using sendfrom

To manage multiple users to isolate users’ balances as this.

EDIT1:

If using estimatesmartfee it is showing the fee:

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

When calling sendfrom for total balance transfer:

bitcoin-cli -testnet sendfrom <account> <address> <amount> error code: -4 error message: Error: This transaction requires a transaction fee of at least 0.00067257 

Is there a way to get 0.00067257 the fee part before send the transaction amount and set it so that account balance won’t go negative for multi accounts wallet.

Edit 2:

I found out that accounts are deprecated.

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

So what would be the best approach to handle multiple users bitcoins in isolation on a full node to prevent negative balance.

Crypto Hats, Crypto Shirts, Crypto Socks, Crypto Clothing

Why do you have to mine 432 blocks to activate segwit on regtest?

Shopping cart
There are no products in the cart!
Continue shopping
0