7 votes
Accepted

How to send bitcoin from an offline Bitcoin Core that doesn't have a synced balance?

The easiest way to do this by importing the address you generated on the offline Bitcoin Core client into an online fully synced Bitcoin-Core. The command is: bitcoin-cli importaddress <address>....
user avatar
  • 6,978
6 votes

What is the min relay min fee code -26?

It seems that the fee provided by you is too low and it's total amount is lower than relay fee (==the minimum fee amount that can guarantee that your transaction would be retranslated to the net). You ...
user avatar
  • 136
4 votes
Accepted

What does allowhighfees in sendrawtransaction actually does?

The fee is whatever you define in the raw transaction, based on the difference between inputs and outputs. sendrawtransaction never changes it. However, as a safety measure, it will normally reject ...
user avatar
4 votes
Accepted

Create a raw transaction and broadcast it to blockchain using bitcoin core

EDIT: based on OPs request, I put examples in here: there are a lot of examples for different tx types on bitcoin.org, in the developer examples. Basically you will need three steps. Assuming you are ...
user avatar
  • 5,026
4 votes
Accepted

How Bitcoin-Core does decide whether high fee during sendrawtransaction?

What exactly is the high fee that Bitcoin Core is talking about? Does this client have exactly fixed number? Bitcoin Core has a hard limit for what it considers to be an absurdly high fee, which is 0....
user avatar
  • 16.5k
4 votes
Accepted

How to fetch the latest unspent transaction by an address using bitcoind?

Bitcoind does not index transactions for non-wallet addresses. If you wish to build this yourself, you will need to: Enable txindex=1 in your bitcoin.conf Rescan the chain Set up blocknotify and then ...
user avatar
  • 16.5k
3 votes

Error in creating bitcoin raw transaction

You provided the amount incorrectly. The amount is 0.54551 not 545500. This is important as Segwit inputs include the previous output's amount in the signature. Providing the wrong amount will result ...
user avatar
  • 62.4k
2 votes

Error sending SegWit transaction: error code: -26 using bitcoin-cli

After writing up this question I finally figured out the answer from here: https://bitcointalk.org/index.php?topic=1680640.0. I will answer my own question for anyone who might be having the same ...
user avatar
  • 31
2 votes
Accepted

64: non-mandatory-script-verify-flag while broadcasting P2WPKH Bech32 with specific inputs

First of all, these are not P2SH-P2WPKH, these are normal P2WPKH outputs. They are not related to P2SH at all. The problem here is probably that the amount is incorrect. If you are providing the ...
user avatar
  • 62.4k
2 votes
Accepted

bitcoinrpc.authproxy.JSONRPCException: -26: 16: bad-txns-in-belowout

That error means that you are trying to spend more money than you have inputs for. In other words, value in < value out. You need to add more inputs so the total input value exceeds the total ...
user avatar
  • 7,090
2 votes
Accepted

Bitcoin Script: mandatory-script-verify-flag-failed Script failed an OP_EQUALVERIFY operation

The failure is happening because hash160(30450221009b813cf658ec2c30e68fd23c369c348fd5f915f77b49581a945aa2f2f2d3c8aa022058f6a7eb78b2132d24cc260699fdc158fda6f3a0d10bc3c52bacccc03bb6b8cb) is not ...
user avatar
2 votes

Broadcasting a raw transactions on bitcoin network

Using Bitcoin Core (bitcoin-cli), the standard sequence of commands to create and broadcast a transaction would be: createrawtransaction signrawtransactionwithkey sendrawtransaction You can find ...
user avatar
  • 632
2 votes
Accepted

Can't send raw transaction Bitcoin Core 0.19.1 - non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation)

That error message is irrelevant. SegWit introduced a new way of producing the hash digest for signing which requires the "amount" being spent to be included during hashing. This "amount" is the value ...
user avatar
1 vote
Accepted

sendrawtransaction on a non-synced node

Am I right that this is caused by the fact that my node is not synced? It certainly could be. The transaction could have a locktime that is in the past in reality, but is in the future from the ...
user avatar
1 vote

Transaction can not be found

When using bitcoin, you don't have to trust anyone to tell you if you received a transaction, you can verify it for yourself. To do so, you can run a bitcoin 'full node' (such as the bitcoin core ...
user avatar
  • 17.4k
1 vote

How to send bitcoin from an offline Bitcoin Core that doesn't have a synced balance?

It can be done offline and with no synced data. Start: .\bitcoind.exe -datadir=c:\bitcoin -prune=550 -noconnect Create transaction: .\bitcoin-cli.exe -datadir=c:\bitcoin createrawtransaction '[{\&...
user avatar
  • 36
1 vote

About insufficient priority error

That error means you did not provide a high enough transaction fee on your transaction.
user avatar
  • 62.4k
1 vote
Accepted

Send raw transaction (have tx_hex) on litecoin testnet using api or module

Postdata must be String, not Object. ('tx_hex=...')
user avatar
1 vote

Sendrawtransaction error with locktime : 64: non-final txid

I just encountered the same problem and the solution is almost stupid. Since the hint is not found elsewhere, I'd add my two cents in case others stepped upon the same trap. It turns out that, ...
user avatar
  • 161
1 vote

Create a raw transaction and broadcast it to blockchain using bitcoin core

You can use signrawtransaction, this method accept an array of private keys as an argument. Parameter #3—private keys for signing: An array holding private keys. If any keys are provided, only ...
user avatar
  • 976
1 vote

How to broadcast a transaction

You need to be running a full bitcoin node like Bitcoin Core, or use a wallet that connects to a bitcoin node. Bitcoin nodes connect to multiple other nodes and distribute the transaction and block ...
user avatar
1 vote

Trying to send bcc with bitcoin-qt but getting "16: mandatory-script-verify-flag-failed" - error

I had the same error, but perhaps different problem. See: Trying rawtransaction BCC/BCH with failed CHECK(MULTI)SIG. What is wrong? It is important that the hash used for signing is based on the same ...
user avatar
  • 11
1 vote
Accepted

Trying to send bcc with bitcoin-qt but getting "16: mandatory-script-verify-flag-failed" - error

Since i'm sure others will encounter the same problem, the solution is that BCC requires you to put in the amount-tag when signing a transaction. You have to put in the full amount that is shown on ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible