Bitcoin Forum
October 29, 2020, 10:16:05 AM *
News: Latest Bitcoin Core release: 0.20.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Constructing bitcoind for non-standard txs  (Read 104 times)
imjustagirl
Jr. Member
*
Offline Offline

Activity: 117
Merit: 6


View Profile
December 18, 2018, 09: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.

1JPnqMd1Q43L3KbZ7SoTSdRCD2aLj2sikF Tip Me!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 1904
Merit: 1893


https://bit.ly/387FXHi ← lightning theory


View Profile
December 18, 2018, 09: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?

imjustagirl
Jr. Member
*
Offline Offline

Activity: 117
Merit: 6


View Profile
December 18, 2018, 09: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 <transaction hex> 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.

1JPnqMd1Q43L3KbZ7SoTSdRCD2aLj2sikF Tip Me!
bob123
Legendary
*
Offline Offline

Activity: 1372
Merit: 2107



View Profile WWW
December 19, 2018, 01:07:19 PM
 #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 ?

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!