201 Commits (21b5b59c8c87ce971a873ebd8ae29d740ad70d9f)

Author SHA1 Message Date
Christian Decker 55d8dcc907 param: Encapsulate hops parsing in a param_hops_array helper 5 years ago
Christian Decker 705e189f0a pay: Allow payments initiated with `sendonion` to be retried 5 years ago
Christian Decker 16b6c31010 json-rpc: Add the error onion if we stored it in the DB 5 years ago
Christian Decker 27547ce8d4 pay: Allow `sendonion` callers to provide `shared_secrets` 5 years ago
Christian Decker 7e41d6c9c4 pay: Make `erring_channel` optional in `struct routing_failure` 5 years ago
Christian Decker 88961aa4b0 pay: Make `erring_node` optional in `struct routing_failure` 5 years ago
Christian Decker b8ce175fd2 pay: Handle payment failures resulting from sendonion correctly 5 years ago
Christian Decker 42277a7ad4 json-rpc: Add the `sendonion` RPC command 5 years ago
Christian Decker 57f13af1ec pay: Add param_route_hop helper to parse `struct route_hop` from JSON 5 years ago
Christian Decker 41221b6ecb pay: Make wallet_payment->destination optional 5 years ago
Christian Decker e13ee29544 pay: Split the onion construction from sendpay 5 years ago
Christian Decker 6ecdc3f672 json-rpc: Add `createonion` command similar to the `devtools/onion` tool 5 years ago
Christian Decker de6bf3e421 json: Add two param parsers for secrets and hex-encoded binary data 5 years ago
Rusty Russell 9765642bf8 lightningd: use final_tlv if the payment_secret is supplied. 5 years ago
Rusty Russell dfb1f6a096 JSON: add `payment_secret` parameter to sendpay. 5 years ago
Rusty Russell ebac3d2a85 spec: update to experimental BOLTs with secret/total_amount. 5 years ago
Rusty Russell 39d537b495 lightningd: remove log_add functions. 5 years ago
Rusty Russell 0211712f5e sphinx: separate nonfinal from final interface, add tlv option. 5 years ago
Rusty Russell c83834ca82 lightningd: expose/accept "style" parameter in routes. 5 years ago
Rusty Russell a76518a029 common/sphinx: rename hop_data to hop_data_legacy. 5 years ago
trueptolemy 12da10cd15 sendpay: Compatible with old parameters `description` 5 years ago
trueptolemy f715e3ad84 pay: A cleanup for the comment about wait_payment() 5 years ago
trueptolemy 086f096b86 Pay: Notify 'sendpay_success' and 'sendpay_failure' when sendpay succeeds and fails 5 years ago
trueptolemy 9d8f46149a API: Add payment fields(if not NULL) into return value when sendpay fails 5 years ago
trueptolemy 507f8d46df pay: Warp the json process of payment fail field 5 years ago
trueptolemy 07f85cbf72 plugin: A new notification type, 'sendpay_success' 5 years ago
Rusty Russell 077ba88b88 JSON: remove listpayments. 5 years ago
Rusty Russell 884f4fa6d0 JSON: Remove description fields. 5 years ago
Rusty Russell d943d8abbc lightningd: expose full onion error when we have it. 5 years ago
trueptolemy 4929034a40 json: Make payment_hash use `json_add_sha256` 5 years ago
Christian Decker 6831db62f7 sphinx: Clean up after migrating to the `sphinx_path` struct 6 years ago
Christian Decker a0a1a1f752 sphinx: Add function to add a new v0 hop to a sphinx_path 6 years ago
Rusty Russell d5bd1682f5 lightningd: free timers on shutdown. 5 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 5 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 5 years ago
Rusty Russell 401bd9f8ef json: rename json_add_amount_sat to json_add_amount_sat_compat. 6 years ago
Rusty Russell 4c9d9b2e05 fixup! Use node_id everywhere for nodes. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell 203ef2ed0b listsendpays: updated version of listpayments. 6 years ago
Rusty Russell 919f390a93 sendpay: rename 'description' to 'label'. 6 years ago
Rusty Russell 5e14274f41 sendpay: provide 'bolt11' parameter. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 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 83adb94583 lightningd and routing: use struct amount_msat. 6 years ago
Rusty Russell feb92cf4e2 sendpay: allow 'amount_msat' 6 years ago
Rusty Russell cb6a97152e pytest: fix race in test_pay_direct. 6 years ago
Rusty Russell f8ecd08721 pay: don't list dummy channel if error is from final hop. 6 years ago
Rusty Russell 4e6b8e13a4 lightningd/pay: simplify code significantly. 6 years ago
Rusty Russell 1c58351551 lightningd: hardcode callbacks again. 6 years ago