record+tlv/onion_types: move type constants to route/hop

This commit is contained in:
Conner Fromknecht
2019-08-30 01:41:34 -07:00
parent dc0f429271
commit 1b2c9a02b5
2 changed files with 17 additions and 18 deletions

View File

@@ -1,15 +0,0 @@
package tlv
const (
// AmtOnionType is the type used in the onion to refrence the amount to
// send to the next hop.
AmtOnionType Type = 2
// LockTimeTLV is the type used in the onion to refenernce the CLTV
// value that should be used for the next hop's HTLC.
LockTimeOnionType Type = 4
// NextHopOnionType is the type used in the onion to reference the ID
// of the next hop.
NextHopOnionType Type = 6
)