Title: Bitcoin error -26 non-final Post by: sharingan_93 on December 13, 2022, 10:15:58 AM Hey,
I need a little help regarding my error that I am having when pushing tx to the node. In response I am getting something like this: "error":{"code":-26,"message":"64: non-final"} Could please help me understand what does it exactly mean and refers to? Would appreciate it, thank you! Title: Re: Bitcoin error -26 non-final Post by: LoyceV on December 13, 2022, 11:26:32 AM non-final I've seen that one before, related to nLocktime (https://bitcointalk.org/index.php?topic=5308693.0). Any chance (considering your privacy) you can share the raw transaction?Title: Re: Bitcoin error -26 non-final Post by: pooya87 on December 13, 2022, 11:29:46 AM "error":{"code":-26,"message":"64: non-final"} Yeah, this error is returned whenever your transaction is not final (https://github.com/bitcoin/bitcoin/blob/59ac8bacd573891d84e8ab96ff43ea12bd266f26/src/consensus/tx_verify.cpp#L17) meaning the nlocktime you chose for your transaction doesn't allow it to be spent yet so the node rejects it. |