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

This commit is contained in:
Conner Fromknecht committed 2019-09-04 12:05:10 -07:00
1 parent dc0f429271
commit 1b2c9a02b5
2 files changed
+17 -18

No files matched your search

-15
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
)