Since we now have a tool (bitcoin-tx) that can perform sign/create raw transaction and other things without a wallet present, I wonder whether the corresponding RPCs in bitcoind can't be made require-wallet. That would get rid of the macro conditionals in the implementation.
-
sipa commented at 7:39 PM on September 4, 2014: member
-
laanwj commented at 10:10 AM on September 5, 2014: member
This is a good idea, but not now. When we go this way I'd like to deprecate it along with all the 'simple utilities' in RPC. Something for 0.11 maybe.
-
laanwj commented at 10:12 AM on September 5, 2014: member
Also about the bitcoin-tx tool: we first need a way to offer it as a library, so it can be imported from other languages. Requiring a process invocation for every operation is the shell-script way of working, with quite some overhead (more even than JSONRPC? especially on non-linux), but from Python or PHP etc you'd want a library.
- laanwj added the label Brainstorming on Sep 5, 2014
- laanwj added this to the milestone Future on Sep 5, 2014
- laanwj added the label RPC on Sep 5, 2014
-
sipa commented at 10:13 AM on September 5, 2014: member
Fair enough.
-
laanwj commented at 10:22 AM on September 5, 2014: member
A bitcoin-tx library would be straightforward. On the basic level it could consist of just an entry point accepting JSON and returning JSON. That would make for easy porting. The difference with JSON-RPC being that no server is needed! Who can object to that :)
- sipa closed this on Mar 30, 2018
- MarcoFalke removed this from the milestone Future on Aug 12, 2018
- DrahtBot locked this on Sep 8, 2021