Bitcoin Forum
May 08, 2024, 03:30:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Constructing bitcoind for non-standard txs  (Read 167 times)
imjustagirl (OP)
Member
**
Offline Offline

Activity: 118
Merit: 11


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!
1715182237
Hero Member
*
Offline Offline

Posts: 1715182237

View Profile Personal Message (Offline)

Ignore
1715182237
Reply with quote  #2

1715182237
Report to moderator
1715182237
Hero Member
*
Offline Offline

Posts: 1715182237

View Profile Personal Message (Offline)

Ignore
1715182237
Reply with quote  #2

1715182237
Report to moderator
1715182237
Hero Member
*
Offline Offline

Posts: 1715182237

View Profile Personal Message (Offline)

Ignore
1715182237
Reply with quote  #2

1715182237
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


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 (OP)
Member
**
Offline Offline

Activity: 118
Merit: 11


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: 1624
Merit: 2481



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!