99 Commits (8fb2e6be7ff52c42b23dfd359ce402a2b36c703f)

Author SHA1 Message Date
Christian Decker 72f1c78a1e jsonrpc: Arm the minconf=1 parameter and deal with the fallout 6 years ago
Christian Decker c0d38aa99c jsonrpc: Expose the minconf parameter for fundchannel and withdraw 6 years ago
Christian Decker 68fe5eacde wallet: Allow limiting the selection by confirmation height 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
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell b8e484b508 struct channel_config: use amount_sat / amount_msat. 6 years ago
Rusty Russell 85b8b25749 bitcoin/chainparams: use amount_sat / amount_msat 6 years ago
Rusty Russell 7e3928359a listpeers: add all the alternate "msat" and "sat" fields for channels. 6 years ago
Rusty Russell b5dcb93e5f wallet: use amount_msat / amount_sat. 6 years ago
Rusty Russell 2632cc3f34 lightningd/json: make wallet_tx functions take amount_sat. 6 years ago
Rusty Russell 19d13f1781 type_to_string: return const char *. 6 years ago
Simon Vrouwe b66d6a0d55 lightningd/json_fundchannel: use json_add_string to add hex_tx to response, similar as in json_withdraw 6 years ago
Simon Vrouwe 10057c8335 openingd/json_fund_channel: 6 years ago
Christian Decker 26f17e87a3 plugin: Add connect and disconnect notifications 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 1ede7bc55b wallet_tx: make wtx_select_utxos return 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
lisa neigut a39c97c960 channeld: support private channel creation, fixes #2125 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell d9d762170a memleak: don't get stuck if per-peer daemons die. 6 years ago
Rusty Russell a42c8bfb38 openingd: wire up dev_memleak. 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
Simon Vrouwe c22d7012a3 lightningd: fail fundchannel command when feerate is below feerate_floor 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Christian Decker f417dfa0e1 chainparams: Always retrieve chainparams by the chain_hash 6 years ago
Christian Decker 0128bc7362 channeld: Use the chainparams to check msatoshi and funding_satoshi 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 a4b952ebc7 feerate: include rough estimates of actual tx costs. 6 years ago
Rusty Russell 175db926c2 chaintopology: expose when we don't actually know feerate. 6 years ago
Rusty Russell a5ecc95c42 db: store claimed per_commitment_point from option_data_loss_protect. 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith 9b28ecf8fc param: upgraded json_tok_pubkey 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Rusty Russell 8939a5001b connectd: rely on the master to tell us to reconnect. 6 years ago
Rusty Russell 8b5c80f42a opening_control.c: make sure we always clean up in error cases. 6 years ago
Rusty Russell 174c79acad openingd: tell master if funding failed, but don't exit. 6 years ago
Rusty Russell 909cd4136b openingd: get told if we can't let them open a new channel. 6 years ago
Rusty Russell 50f5eb34b4 openingd: take peer before we're opening, wait for explicit funding msg. 6 years ago
Rusty Russell 8f38a46584 lightningd: correctly store our own channel_reserve_satoshis 7 years ago
Rusty Russell 63a1e510d9 lightningd: count first block of channel on exit from openingd, not start. 6 years ago
Rusty Russell c05bc7c8ab lightningd: don't try to delete peer from db on shutdown if it's opening. 6 years ago
Rusty Russell 8bffd2b604 lightningd: centralize refcounting behaviour for peers. 6 years ago
Rusty Russell 52303029aa fundchannel: cap 'all' at 2^24-1 satoshi. 7 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 7 years ago