lnd.xprv/glide.lock
Olaoluwa Osuntokun f37956e38e
routing: update Sphinx API to include r-hash and per-hop-payload
This commit modifies both the Sphinx packet generation and processing
for recent updates to the API.

With the version 1 Sphinx specification, the payment hash is now
included in the MACs in order to thwart any potential replay attacks.
As a result, any attempts to replay previous HTLC packets MUST re-use
the same payment hash, meaning that the first-hop node can simply
settle the HTLC immediately, thwarting the attacker.

Additionally, within the Sphinx packet, each hop now gets a per-hop
payload which contains the necessary details (CTLV value, fee, etc) for
the node to successfully forward the payment. This per-hop payload is
protected by a packet-wide MAC.
2016-10-27 20:40:26 -07:00

161 lines
4.1 KiB
YAML

hash: 2106ce14ff53c14d3d0d3d8f34e1cf01c01a79eef409ffe871cd5783b77939c8
updated: 2016-10-27T20:34:19.347013604-07:00
imports:
- name: github.com/aead/chacha20
version: 7e1038a97ad08a9a16cb88ed7a6778b366ba4d99
subpackages:
- chacha
- name: github.com/aead/poly1305
version: 7ab7663051fa9fa57de391f966a859e781d48b0a
- name: github.com/awalterschulze/gographviz
version: d4d8514752339899250316f88a7907468e8eca7e
subpackages:
- ast
- parser
- token
- errors
- lexer
- name: github.com/BitfuryLightning/tools
version: b36ae00916b800503504455f7afeb3159bd5ee35
subpackages:
- routing
- rt
- rt/graph
- prefix_tree
- rt/visualizer
- pbuffer
- pqueue
- name: github.com/boltdb/bolt
version: 583e8937c61f1af6513608ccc75c97b6abdf4ff9
- name: github.com/btcsuite/bolt
version: da4838c39653ed69caa78c99ca68001a89eb973f
- name: github.com/btcsuite/btclog
version: 73889fb79bd687870312b6e40effcecffbd57d30
- name: github.com/btcsuite/fastsha256
version: 637e656429416087660c84436a2a035d69d54e2e
- name: github.com/btcsuite/go-flags
version: 6c288d648c1cc1befcb90cb5511dcacf64ae8e61
- name: github.com/btcsuite/go-socks
version: cfe8b59e565c1a5bd4e2005d77cd9aa8b2e14524
subpackages:
- socks
- name: github.com/btcsuite/golangcrypto
version: 53f62d9b43e87a6c56975cf862af7edf33a8d0df
subpackages:
- ripemd160
- nacl/secretbox
- scrypt
- ssh/terminal
- poly1305
- salsa20/salsa
- pbkdf2
- name: github.com/btcsuite/seelog
version: ae8891d029dd3c269dcfd6f261ad23e761acd99f
- name: github.com/btcsuite/websocket
version: 31079b6807923eb23992c421b114992b95131b55
- name: github.com/codahale/chacha20
version: ec07b4f69a3f70b1dd2a8ad77230deb1ba5d6953
- name: github.com/codahale/chacha20poly1305
version: f8a5c48301822c3d7dd26d78e68ea2968db0ab20
- name: github.com/davecgh/go-spew
version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9
subpackages:
- spew
- name: github.com/go-errors/errors
version: a41850380601eeb43f4350f7d17c6bbd8944aaf8
- name: github.com/golang/protobuf
version: 98fa357170587e470c5f27d3c3ea0947b71eb455
subpackages:
- proto
- jsonpb
- protoc-gen-go/descriptor
- name: github.com/grpc-ecosystem/grpc-gateway
version: a8f25bd1ab549f8b87afd48aa9181221e9d439bb
subpackages:
- runtime
- third_party/googleapis/google/api
- utilities
- runtime/internal
- name: github.com/howeyc/gopass
version: f5387c492211eb133053880d23dfae62aa14123d
- name: github.com/lightningnetwork/lightning-onion
version: f38a054899049d1f5bdb6550c17724060384161b
- name: github.com/roasbeef/btcd
version: baea7691cc3c59480703fe1a3fb5595c838c963c
subpackages:
- blockchain
- btcec
- btcjson
- chaincfg
- txscript
- wire
- rpctest
- database
- name: github.com/roasbeef/btcrpcclient
version: 2c6c5c5671f6e86d42b84da30cafcd80e3313b41
- name: github.com/roasbeef/btcutil
version: 94511fbe6c9bf8ecddb82ccfe8f326e45a4559b0
subpackages:
- bloom
- coinset
- hdkeychain
- txsort
- base58
- name: github.com/roasbeef/btcwallet
version: 7acd18a96697b180b631631108f1a15448de369f
subpackages:
- chain
- waddrmgr
- wallet
- walletdb/bdb
- walletdb
- internal/zero
- snacl
- internal/prompt
- wallet/txauthor
- wallet/txrules
- wtxmgr
- internal/legacy/keystore
- internal/helpers
- wallet/internal/txsizes
- internal/legacy/rename
- name: github.com/urfave/cli
version: a14d7d367bc02b1f57d88de97926727f2d936387
- name: golang.org/x/crypto
version: ca7e7f10cb9fd9c1a6ff7f60436c086d73714180
subpackages:
- hkdf
- nacl/secretbox
- ripemd160
- scrypt
- poly1305
- salsa20/salsa
- pbkdf2
- ssh/terminal
- name: golang.org/x/net
version: b336a971b799939dd16ae9b1df8334cb8b977c4d
subpackages:
- context
- http2
- trace
- http2/hpack
- idna
- lex/httplex
- internal/timeseries
- name: golang.org/x/sys
version: c200b10b5d5e122be351b67af224adc6128af5bf
subpackages:
- unix
- name: google.golang.org/grpc
version: b7f1379d3cbbbeb2ca3405852012e237aa05459e
subpackages:
- grpclog
- codes
- metadata
- credentials
- internal
- naming
- transport
- peer
testImports: []