Commit Graph
16 Commits
Author SHA1 Message Date
edouard 774f969594 Add listtransaction command 2022-11-22 19:31:02 +01:00
edouard 3cd709697b Add listconfirmed command 2022-11-22 19:31:02 +01:00
edouard 873a697ba4 fix: doc/API.md 2022-11-19 11:00:49 +01:00
Antoine Poinsot 073cdd0a89 commands: add a 'rescan_progress' field to 'getinfo'
We make sure to return a value as long as it was not wiped from
database, that's useful in functional tests.
2022-11-14 09:20:27 +01:00
Antoine Poinsot 7866ff46cf commands: add a new 'startrescan' command 2022-11-14 09:20:27 +01:00
Antoine Poinsot eff39ee35a rpc: a new 'broadcastspend' command 2022-10-18 19:54:03 +02:00
Antoine Poinsot 99ab0d7add commands: add a 'spend_info' field to the 'listcoins' entries 2022-10-17 11:47:42 +02:00
Antoine Poinsot 57add1d86b commands: return the DB's block height in 'getinfo'
It makes more sense than to return the Bitcoin backend's. And it's helpful to wait for sync in functional tests.
2022-10-17 11:47:41 +02:00
Antoine Poinsot 92f7ef1225 commands: make listcoins return all coins by default
We'll add some parameters to filter by status and/or outpoints later on.
But for now also list coins that were spent or are being spent.
2022-10-17 11:47:41 +02:00
Antoine Poinsot c73e8a42dd commands: add a new 'delspendtx' command 2022-10-01 14:05:27 +02:00
Antoine Poinsot d5bd10add8 commands: add a change_index field to listspendtxs entries 2022-10-01 13:40:49 +02:00
Antoine Poinsot c6e004806a commands: add a 'list_spend' command (and 'listspendtxs' RPC) 2022-10-01 13:33:08 +02:00
Antoine Poinsot 3dfc7261db jsonrpc: a new 'updatespend' RPC 2022-09-15 11:41:34 +02:00
Antoine Poinsot 7d015bcf43 jsonrpc: add a 'createspend' RPC command
Since the Spend transaction command requires some parameters, this
implements the parameter-getting logic on the JSONRPC side as well.

This allows us to implement an end-to-end functional test of the
transaction flow using an external way to broadcast it. From the input
coins creation, to the Spend transaction broadcast.
2022-09-15 11:41:33 +02:00
Antoine Poinsot 9d0c68dae3 commands: add a 'list_coins' command. 2022-08-18 12:01:27 +02:00
Antoine PoinsotandEdouard Paris 14bd3890dc doc: add an API.md documenting the JSONRPC API.
Co-Authored-By: Edouard Paris <m@edouard.paris>
2022-08-17 19:39:58 +02:00