117 Commits (1a3886c1168588a0d97be5e78f291fdd91743f80)

Author SHA1 Message Date
Rusty Russell 3b91a6f7c3 wtx_select_utxos: use wallet_tx as our allocation context for utxos. 6 years ago
Rusty Russell 7e02fbe6ec lightningd: add json_add_tx helper. 6 years ago
Rusty Russell 38d2899fbb common/per_per_state: generalize lightningd/peer_comm Part 1 6 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 6 years ago
Rusty Russell e5b5f1d7e5 openingd: add openchannel hook. 6 years ago
Rusty Russell 401bd9f8ef json: rename json_add_amount_sat to json_add_amount_sat_compat. 6 years ago
Rusty Russell f3d30f1267 openingd: check with lightningd when we receive an offer. 6 years ago
Rusty Russell 13717c6ebb gossipd: hand a gossip_store_fd to all subdaemons. 6 years ago
Rusty Russell eaac0d7105 lightningd: group crypto_state and fds into a convenient structure. 6 years ago
Rusty Russell cfebe66762 openingd: support receipt of upfront_shutdown_script. 6 years ago
Rusty Russell 7ead29b695 db: add support for remote end specify option_upfront_shutdown_script. 6 years ago
Michael Schmoock 4985693bea feat: subtract dust reserves on the fly from min-capacity-sat 6 years ago
Michael Schmoock 2011bcb397 chore: adds missing WARN_UNUSED to amount_msat_from_sat_u64 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Michael Schmoock c7af0c93c9 feat: add min_capacity_sat config value and switch 6 years ago
Christian Decker d651ce6f3b wally: Migrate main daemon to use wally transactions 6 years ago
Michael Schmoock 1043df28be adds: new db fields and struct variables 6 years ago
lisa neigut 9f3627f09d opening_control: use chainparams for dust_limit in channel config 6 years ago
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