Commit Graph

488 Commits

Author SHA1 Message Date
Tadge Dryja
fc100921e8 add pushtx, and outpoint comparitor 2016-01-21 17:59:50 -08:00
Tadge Dryja
9215c18113 keep track of addresses, check incoming txs for full pkscript match 2016-01-21 01:04:45 -08:00
Tadge Dryja
b7a2c46ea6 remove storage of pkscript; don't need it. 2016-01-20 22:57:05 -08:00
Tadge Dryja
278971936f pass network parameters as function arg 2016-01-20 21:27:58 -08:00
Tadge Dryja
73bbb29026 add keyfileio to manage private key storage on disk 2016-01-20 21:08:05 -08:00
Tadge Dryja
1f40c7214e good enough storage of spent txs 2016-01-20 01:23:47 -08:00
Tadge Dryja
29d0c0cc6f fix bolt slices. db read / write works.
also switch heights from uint32 to int32, which I guess is what they use.
Makes this thing last 2 billion blocks shorter.  If we get past uint32 time.
2016-01-19 23:40:04 -08:00
Tadge Dryja
0b5daa9b2b add utxodb for on disk storage of transactions. 2016-01-19 20:02:18 -08:00
Tadge Dryja
58c8d32ac5 add a height channel to keep track of incoming merkleblocks 2016-01-19 14:23:18 -08:00
Tadge Dryja
ece5dc9d2d add txtostring 2016-01-19 11:59:01 -08:00
Tadge Dryja
709b8a05cd oh right, another fun thing I forgot about
When there's only the coinbase tx, the merkle root = the coinbase txid.
Needless complication in bitcoin == job security?
2016-01-19 10:59:13 -08:00
Tadge Dryja
7dbf4a4a4f update uspv, add function for height from header
still a bunch of problems getting utxo sets
2016-01-19 01:33:58 -08:00
Tadge Dryja
24afe237db Merge branch 'master' into uspvdev 2016-01-19 00:31:09 -08:00
Tadge Dryja
dd2c2274c8 export fields from lnid and add deserialization method 2016-01-19 00:05:02 -08:00
Tadge Dryja
229e34b326 make SPVCon version agnostic 2016-01-18 23:43:41 -08:00
Tadge Dryja
3fecd67920 cycle sender / receiver to bytes and back 2016-01-18 23:28:14 -08:00
Tadge Dryja
c1212d1369 off by 1 fix, a little more serdes check 2016-01-18 21:26:28 -08:00
Tadge Dryja
2b66c234c6 actually remove current from sender and calc on the fly for addnext 2016-01-18 21:08:16 -08:00
Tadge Dryja
2301af5615 remove "current" from receiver, add very simple serialization test 2016-01-18 21:04:53 -08:00
Tadge Dryja
d4a31d4127 add initial unit test for elkrem send / receive 2016-01-18 20:43:02 -08:00
Tadge Dryja
6f8cf3d75a remove node serdes, pretty sure it's redundant 2016-01-18 20:17:15 -08:00
Tadge Dryja
a3f65bb4ad serialization / deserialization of elkrem built, untested 2016-01-18 20:15:51 -08:00
Tadge Dryja
fc5e58ad7d add serdes (start) for elkrem 2016-01-18 18:24:34 -08:00
Tadge Dryja
26d9ae7f2b add tcp dial bypass for pbx 2016-01-17 22:32:19 -08:00
Olaoluwa Osuntokun
10835c6498 README: remove build error disclaimer 2016-01-17 21:53:14 -08:00
Olaoluwa Osuntokun
8e54e0c339 lnstate: fix compile errors 2016-01-17 21:51:58 -08:00
Olaoluwa Osuntokun
872db633df uspv: file compile error 2016-01-17 21:51:58 -08:00
Tadge Dryja
1f11e011de Merge pull request #3 from PaulCapestany/master
Make lnd go-gettable, add install instructions to readme
2016-01-17 20:59:13 -08:00
Paul Capestany
f24d9af85a Fix capitalization so go get instructions work properly 2016-01-17 19:59:54 -08:00
Paul Capestany
80b20bd039 Update README with general build instructions 2016-01-17 19:53:50 -08:00
Paul Capestany
5bddb611dc Fix build issue for lncli
Error message:

cmd/lncli/commands.go:27: undefined: shell
2016-01-17 19:18:08 -08:00
Paul Capestany
3f74cee023 Address go install issues
Error messages:

peer.go:12:2: cannot find package "li.lan/labs/plasma/lnwallet"
peer.go:13:2: cannot find package "li.lan/labs/plasma/lnwire"
2016-01-17 19:14:47 -08:00
Tadge Dryja
b0a402bc4f remove ID private key from LNDConn struct 2016-01-17 11:20:40 -08:00
Tadge Dryja
9e5f302288 move lnadr from main to lndc package 2016-01-17 10:45:07 -08:00
Olaoluwa Osuntokun
ba0f86d4dc README: add description for lnrpc
Was previously committed, but seems to have been lost in a merge somewhere along the way.
2016-01-16 21:10:01 -08:00
Olaoluwa Osuntokun
cabf36e02d Merge pull request #2 from PaulCapestany/master
Fixing some README typos
2016-01-16 20:57:27 -08:00
Olaoluwa Osuntokun
2a66e4faa9 Merge pull request #1 from kanzure/fix-rusty-name-typo
Fix name typo in README
2016-01-16 20:56:01 -08:00
Paul Capestany
3052c144a4 Fixing some README typos 2016-01-16 20:48:11 -08:00
Bryan Bishop
c12aa90cf4 fix rusty russell name typo 2016-01-16 22:43:15 -06:00
Olaoluwa Osuntokun
5cc8efaa43 implement the gRPC "ConnectPeer" function within rpcserver 2016-01-16 19:31:09 -08:00
Olaoluwa Osuntokun
32d4e3a3b6 lnshell: comment out lnchat, it's in limbo before we add the message to unwire 2016-01-16 19:29:04 -08:00
Olaoluwa Osuntokun
4b696f1690 lncli: remove shell.go, lnshell is a separate package now 2016-01-16 19:29:03 -08:00
Olaoluwa Osuntokun
701de388a0 lncli: add "connect" command
usage: lncli connect <lnid>@host:port

Currently one must specify port since we haven’t yet chosen an
“official” p2p port
2016-01-16 19:29:03 -08:00
Olaoluwa Osuntokun
3cb1ce050c create, and start server within main entry point 2016-01-16 19:29:01 -08:00
Olaoluwa Osuntokun
9a775cf66e add functionality to server for manually establishing outgoing connections 2016-01-16 19:28:19 -08:00
Olaoluwa Osuntokun
1f1b82fe3f add constructor for core server struct 2016-01-16 19:28:16 -08:00
Olaoluwa Osuntokun
7ecbb2debc move getPriv to server.go, and rename 2016-01-16 19:27:20 -08:00
Olaoluwa Osuntokun
4366b1b114 lnrpc: remote Listen/Chat, re-compile proto file 2016-01-16 19:27:02 -08:00
Olaoluwa Osuntokun
4c8b10617a add lnAddr implementation to peer.go, finish peer draft
* With this commit, then initial draft of the peer struct is finished.
Items to still complete include the interaction between the peer and
internal wallet, version handshake, pings, etc.
2016-01-16 19:26:49 -08:00
Olaoluwa Osuntokun
6c51942b03 start http profiling server by default 2016-01-16 19:26:04 -08:00