Joseph Poon
ba56797b43
Ohhh... right.
2015-12-29 05:46:03 -08:00
Joseph Poon
1e79ad7236
Minor note
2015-12-29 05:43:07 -08:00
Joseph Poon
02a9b1e237
While making things match closely with Rusty's wire protocol, I noticed
...
he didn't allow for multiple HTLCs. Gotta explain the rationale for that
that... will merge the progress in the next commit tomorrow.
2015-12-29 05:24:02 -08:00
Joseph Poon
161b1b5e4c
Message interface and stuff.
...
* Added Message interface (similar to btcd's)
* Moved Funding Request to its own file
* Refacored Funding Request Code (*MUCH* better)
* Various fixes
2015-12-28 03:24:16 -08:00
Joseph Poon
f51a5a6458
Holy shit pointer crap was annoying! Serialize/deserialize works now.
...
Running "go test -v" will show the serialization and deserialization.
Doing the rest of the wire stuff should be *much* faster since I figured
everything out...
2015-12-26 23:52:20 -08:00
Joseph Poon
0c0900006d
Upon further reflection Our/Their seperation makes no sense
2015-12-26 20:37:17 -08:00
Joseph Poon
b79d0cc65a
(still need to fix deserialize... io wasn't working so I'm using bytes)
2015-12-26 18:23:58 -08:00
Joseph Poon
09f07770fd
Funding request serialize/deserialize (io reader/writer and pointers
...
were very confusing -_-;)
2015-12-26 18:20:25 -08:00
Joseph Poon
fc9ebb52f3
Refactor funding request, will separate to multiple files later
2015-12-23 00:08:34 -08:00