Updated wire to use int64

This commit is contained in:
Joseph Poon 2016-02-18 04:29:08 -08:00
parent 2cbe605221
commit e940e92823

@ -16,17 +16,17 @@ var MAX_SLICE_LENGTH = 65535
// Actual pkScript, not redeemScript
type PkScript []byte
type HTLCKey uint64
type HTLCKey int64
type CommitHeight uint64
// Subsatoshi amount (Micro-Satoshi, 1/1000th)
// Should be a signed int to account for negative fees
//
//
// "In any science-fiction movie, anywhere in the galaxy, currency is referred
// to as 'credits.'"
// --Sam Humphries. Ebert, Roger (1999). Ebert's bigger little movie
// glossary. Andrews McMeel. p. 172.
//
//
// https:// en.wikipedia.org/wiki/List_of_fictional_currencies
// https:// en.wikipedia.org/wiki/Fictional_currency#Trends_in_the_use_of_fictional_currencies
// http:// tvtropes.org/pmwiki/pmwiki.php/Main/WeWillSpendCreditsInTheFuture