31 Commits (2d8e93687d3935c8b613a62142fb484cd5572085)

Author SHA1 Message Date
Rusty Russell 3fa375881a bigsize: make it a proper first-class type. 5 years ago
Rusty Russell e23f183468 common/sphinx: use bigsize_get not varint_get. 5 years ago
Chirimen-Jako b7119150a7 Fix build fail on 32bit environment. 5 years ago
Christian Decker 78c7edb889 sphinx: Switch to big-endian number encoding 5 years ago
Christian Decker c752c3318d sphinx: Cleanup sphinx onion construction, remove realm 5 years ago
Christian Decker 660921a9dd sphinx: Introduce a `runtest` command to the onion tool 6 years ago
Christian Decker b83d15ea4a sphinx: Remove standalone v0 payload in favor of the unionized one 6 years ago
Christian Decker d607afd195 sphinx: Variable left-shift when unwrapping onion 6 years ago
Christian Decker 7bc4cf83b1 sphinx: Expose sphinx_add_raw_hop for testing 6 years ago
Christian Decker 75c0160c08 sphinx: Simplify the filler generation code 6 years ago
Christian Decker a0a1a1f752 sphinx: Add function to add a new v0 hop to a sphinx_path 6 years ago
Christian Decker 71cf4e1b39 sphinx: Add sphinx_path struct to encapsulate routing related info 6 years ago
Christian Decker ea4831363e sphinx: Consolidate some of the hard-coded parameter naming 6 years ago
lisa neigut 5c07afac7d bolt: update to BOLT spec changes (extract format + type specifications) 5 years ago
Christian Decker adb984dd45 hooks: Add the raw payload to the htlc_accepted call 6 years ago
Rusty Russell e0ec9ac521 libwally: update to 0.6.8. 6 years ago
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 7e8dbc1c37 sphinx: use struct pubkey. 6 years ago
Rusty Russell 59febcb968 sphinx: explain why parse_onionpacket fails. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell 8553edb7e2 common: fix up BOLT 4 references. 6 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
practicalswift f84828be36 Avoid writing uninitialized value data->realm in serialize_hop_data(...) (via create_onionpacket(...)) 7 years ago
practicalswift bfce5b41f9 Fix typo (a vs. an) 7 years ago
Rusty Russell 8c4eecc089 sphinx: fix leaks. 7 years ago
Rusty Russell a9002eac52 Update to latest BOLT. 7 years ago
Christian Decker a9f02a8985 sphinx: Remove annoying warning when MACs do not match 7 years ago
Christian Decker a44f893838 sphinx: Switch to version 0x00 like the spec says 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Rusty Russell 1ecd687eec sphinx: update padding as per latest BOLT 4 7 years ago
Christian Decker 7dc693963d script: Consolidate scripts to use pubkey_to_hash160 7 years ago
sstone f371b6df20 sphinx: fix payload amount encoding 7 years ago
Rusty Russell 3c105bd8db sphinx: Add BOLT#4 quotes. 7 years ago
Rusty Russell b99c5620ef struct secret: use everywhere. 8 years ago
Christian Decker 870b83f67f sphinx: Incrementally wrap replies in new onion layers 8 years ago
Christian Decker 9820abda7c sphinx: Store shared secrets on the origin node 8 years ago
Christian Decker 79582ea415 sphinx: Update the HMAC in onionreply to full length 8 years ago
Christian Decker 4a468af378 sphinx: Parameterizing the HMAC size 8 years ago
Christian Decker 652d999dbd sphinx: Moving HMAC to the end of the packet 8 years ago
Christian Decker 157c2da778 sphinx: Removing old nexthop based on public keys 8 years ago
Christian Decker 83e89f0fe5 sphinx: Using hop_data to serialize per-hop information into onion 8 years ago
Christian Decker 752f884c23 sphinx: Removed per-hop payloads, will be replaced by hop_data 8 years ago
Christian Decker bc0039e8c0 sphinx: Onion reply wrapping and unwrapping 8 years ago
Christian Decker 09b31624f0 sphinx: Creating copy of sphinx for new daemon 8 years ago
Rusty Russell 8a84e961ed daemon/sphinx: support modern v0 hop payload. 8 years ago
Rusty Russell 8146b838e8 daemon/sphinx: split handling. 8 years ago
Christian Decker cae283087d sphinx: Committing the onion packet to the payment-hash 8 years ago