Author

Topic: Constructing bitcoind for non-standard txs (Read 178 times)

legendary
Activity: 1624
Merit: 2481
December 19, 2018, 08:07:19 AM
#4
I followed the instructions exactly, used them on the same bitcoin version from 2015.

You could use an up-to-date version of core and apply (not copy / paste) the changes to the new version.
This would be the preferred way.

I'd suggest to never use outdated software (especially not a 3+ year old software). Particularly if it is a software which directly handles value (BTC in this case).


Also, you are referring to the guide as 'the guide'. Can you give us a link so we can take a look at it ?
member
Activity: 118
Merit: 11
December 18, 2018, 04:55:12 PM
#3
I followed the instructions exactly, used them on the same bitcoin version from 2015. The only thing I changed is pulling up newer boost libraries when compiling. They compiled perfectly fine into exe files.
I run bitcoind, then do the usual bitcoincli sendrawtransaction and still get this error, despite the changed code.
The bitcoind connects just fine to nodes, the only thing that can be is maybe the node, not the bitcoincli returning this error. I will try to run my own node on a different PC, connect and check tomorrow.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
December 18, 2018, 04:35:51 PM
#2
To get this straight, you changed the source and then compiled the new source after returning true from the nonestandardinput module and deleted the extra block of code and it doesn’t work?

It’s likely that code is now out of date then. If you’re using the command line, did you get the volt and this and other information correct? Could you show us the command you tried on the cli?
member
Activity: 118
Merit: 11
December 18, 2018, 04:20:38 PM
#1
Hi, I have a question.
I followed Max Kaye's guide to compiling bitcoin for non-standard transactions.
Used the same version of bitcoin as his guide does,  made the necessary changes, compiled from source...and still bitcoin-cli gives me
"error code: -26
error message:
bad-txns-nonstandard-inputs (code 64)"

The only two files his guide states to change is the standard.cpp and /rpcrawtransaction.cp.
Is his guide inaccurate or am I missing something?

Thanks in advance for the help.
Jump to: