136 Commits (15612d269a10c4588e2e231bdaec0e49576fd9de)

Author SHA1 Message Date
Rusty Russell 6955bf6b86 lightningd: initialize topology synclist earlier. 5 years ago
Rusty Russell 3eebd0cc20 lightningd: add flag for whether we're synced, and callback infrastructure. 5 years ago
Christian Decker 5dff67900e tx: Add chainparams when deserializing transactions from wire msgs 5 years ago
trueptolemy 130bf20516 lightningd: check bitcoind version when `setup_topology` 5 years ago
tasoshi 1af8d9ebdb lightningd/chaintopology: log_debug on broadcasting error (#2792) 6 years ago
Rusty Russell 7c760dafe2 lightningd/chaintopology: free block map and watches on exit. 6 years ago
Rusty Russell f1bea55395 lightningd: fix occasional missing txid detection. 6 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 6 years ago
Christian Decker 771ff1f214 chaintopology: Annotate transactions as deposits if we owned outputs 6 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 6 years ago
ZmnSCPxj 48df6c8566 lightningd/io_loop_with_timers.c: Move mainloop to its own source file, have chaintopology use it. 6 years ago
Simon Vrouwe eb3495c23d chaintopology: add log line when we remove stale block from topo->tip 6 years ago
Christian Decker d651ce6f3b wally: Migrate main daemon to use wally transactions 6 years ago
Rusty Russell 948ca470ad bitcoin: use amount_sat/amount_msat. 6 years ago
Rusty Russell bac9a594b8 wallet: use amount_sat/amount_msat. 6 years ago
Simon Vrouwe 10057c8335 openingd/json_fund_channel: 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Rusty Russell ae61f645ab chaintopology: don't "fix" unknown feerate against known one. 6 years ago
Rusty Russell 2af94f1817 chaintopology: remove redundant wallet pointer. 6 years ago
Rusty Russell 33c6285787 feerates: turn it into a simple query API, remove setting. 6 years ago
Rusty Russell db3c387264 feerate: allow names 'urgent' 'normal' and 'slow'. 6 years ago
Rusty Russell e0952ceff2 feerate: use suffix, not separate argument. 6 years ago
Rusty Russell 14dc1c37ab fundchannel / withdraw: allow explicit feerate setting. 6 years ago
Rusty Russell e2d4b7cc8d cleanup: extract and formalize feerate conversion. 6 years ago
Rusty Russell af4fa9a359 feerates: rename sipa/bitcoind to perkw/perkb. 6 years ago
Rusty Russell a4b952ebc7 feerate: include rough estimates of actual tx costs. 6 years ago
Rusty Russell 14294642d2 feerates: consider last three raw values for min/max. 6 years ago
Rusty Russell a260849870 moveonly: feerate_min and feerate_max belong in chaintopology.c 6 years ago
Rusty Russell c7c5affa3f feerates: new command to inject/query fee estimates. 6 years ago
Rusty Russell 9d37b78088 cleanup: lowercase name of feerates, immediate -> urgent. 6 years ago
Rusty Russell 9d517ddc1d options: remove default-fee-rate now we don't use it. 6 years ago
Rusty Russell 112b7336a3 memleak: create and use a generic htable helper and generic intmap helper. 6 years ago
Rusty Russell 898655f40c chaintopology: fix outdated comment. 6 years ago
Rusty Russell 175db926c2 chaintopology: expose when we don't actually know feerate. 6 years ago
Rusty Russell d93be58bd0 pytest: remove use dev-override-feerates. 6 years ago
Rusty Russell a75de62477 chaintopology: always initialize smoothed feerate if it's the first entry. 6 years ago
Rusty Russell 43fe7f034e chaintopology: try to get a feerate estimate before we complete startup. 6 years ago
Rusty Russell ab0fa7a1bd chaintopology: always cap max block to bitcoind's block height. 6 years ago
Rusty Russell f8052a6c1a chaintopology: watch UTXOs which need closeinfo when we remove blocks. 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith 294dc06de9 param: upgraded json_tok_number 6 years ago
Simon Vrouwe 795e0e1b21 do not start fee estimation loop with option: --dev-override-fee-rates 6 years ago