78 Commits (b0a8b10b411c642813e971119a5588c8bced930f)

Author SHA1 Message Date
Christian Decker ad2f6cdabb cli: Add a JSON parsing sanity check before sending request 4 years ago
Christian Decker b2a5cf422f jsonrpc: Forward errors on malformed requests to cli 4 years ago
Rusty Russell 41290a436f lightning-cli: print notifications (with '# ' prefix) if received. 4 years ago
Rusty Russell 488b32b003 build: run update-mocks. 4 years ago
niftynei c50f377a85 psbt: pull out changeset logic into common, update API 4 years ago
niftynei 303263d381 psbt: clean up interface for setting metadata on PSBT inputs 4 years ago
Rusty Russell fb013f9d02 lightning-cli: fix handling of complex objects with -H. 4 years ago
Rusty Russell 1746406e41 Makefile: normalize all the Makefiles 4 years ago
Rusty Russell ffbb409b47 amount: use initializers everywhere. 4 years ago
niftynei bc5a817100 elements: convenience methods for dealing with assets 5 years ago
Rusty Russell 731e037b36 change_amount: routine to determine if change output is worthwhile. 5 years ago
Rusty Russell a9427f1a8d bitcoin/feerate: new exposure for feerate parsing outside lightningd. 5 years ago
niftynei 2e9c387f45 coin_moves: update withdrawal logic to account for 'variable owner' txs 5 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 5 years ago
Rusty Russell 13356b75bf wire: move towire/fromwire_amount from wire/ into common/amount.c 5 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 5 years ago
Rusty Russell fda5f0b427 common/channel_id: move channel_id into its own file. 5 years ago
Rusty Russell 3c625b367d doc: update cli documentation. 5 years ago
Rusty Russell abb16b4226 cli: implement new 'flattened JSON' mode. 5 years ago
Rusty Russell 679d3494b4 cli: tweak -H output to remove format-hint fields. 5 years ago
darosior 3510c29e5d common: move json_stream helpers to common/json 5 years ago
darosior 4f3e8d461e cli: make '--rpc-file' take over other config options if absolute 5 years ago
Rusty Russell aab83e729b lightningd: change config-dir from plugin / wallet / hsm POV into <network> subdir 5 years ago
Rusty Russell 8b1aa3ef8b lightningd: move basic parameter parsing into common/configdir 5 years ago
Christian Decker 7283efa5b5 elements: Add amount_asset to support more than just plain satoshis 5 years ago
Christian Decker c38afc5512 tx: Switch to amount_sat for fee computations 5 years ago
Rusty Russell 0f5036d866 cli: remove formatting hint correclty when it's not the last element. 5 years ago
Rusty Russell 69b02e287a cli: avoid use-after-realloc when we delete format hint. 5 years ago
Rusty Russell 118150227e cli: restore 0.7.0-style whitespace printing. 5 years ago
Rusty Russell cc70b9c4ec wire: use common/bigsize routines 5 years ago
Rusty Russell 6da420a65b lightning-cli: change default printing in response to "format-hint": "simple". 6 years ago
Rusty Russell 7b1088a235 lightning-cli: clean up human_help() function. 6 years ago
Rusty Russell 7e97119117 lightning-cli: use tal_arr for toks again. 6 years ago
Rusty Russell 0b5b1faff5 common/configdir: simply supply defaults, leave parsing to programs. 6 years ago
lisa neigut 7046d0220c makefiles: move all unit tests under `make check-units` 6 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
Rusty Russell e902d9af56 cli/lightning-cli: free eveything on exit. 6 years ago
darosior b1bbafb19c cli: Sort human_readable output by categories 6 years ago
Rusty Russell 4ea1d13077 cli: handle OOM by directly streaming output. 6 years ago
GreenAddress fb07265663 remove libbase58, use base58 from libwally (#2594) 6 years ago
Rusty Russell 77b859eaec lightning-cli: don't produce bad JSON if fields contain ". 6 years ago
Rusty Russell 5009d628a3 lightning-cli: do pretty-printing. 6 years ago
Rusty Russell 948ca470ad bitcoin: use amount_sat/amount_msat. 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
William Casarin 41468fb607 cli: source help from local docs when not installed 6 years ago
lisa neigut b2ee53fd89 lightning-cli: add jsonrpc version to cmd json packet 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell 8238fe6acf common/json: only maintain array of nested types if DEVELOPER mode. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
William Casarin 8f405ca9a7 cli: fix human help output for the new jsonrpc help response 6 years ago