This website requires JavaScript.
e940e92823
Updated wire to use int64
Joseph Poon
2016-02-18 04:29:08 -08:00
a175e098fa
remove waitgroups from ingest block
Tadge Dryja
2016-02-17 23:16:17 -08:00
0d3639435f
can sync with segnet in hard mode
Tadge Dryja
2016-02-15 22:13:17 -08:00
a955a428a7
fix nil witness crash; sync's now on segnet
Tadge Dryja
2016-02-14 12:50:20 -08:00
ee4dd8aaa0
trying to get witness coinbases to validate
Tadge Dryja
2016-02-13 14:03:11 -08:00
7fdcf9bfbc
start trying to connect to segnet
Tadge Dryja
2016-02-10 13:22:15 -08:00
2cbe605221
Merge branch 'master' of github.com:lightningnetwork/lnd into uspvdev
Tadge Dryja
2016-02-08 14:09:35 -08:00
e2dd892a4f
add waitgroups to ingestBlock
Tadge Dryja
2016-02-07 19:52:45 -08:00
4535b965cd
implement hard mode
Tadge Dryja
2016-02-06 22:48:54 -08:00
8518be13f7
add hard mode test methods
Tadge Dryja
2016-02-06 19:15:35 -08:00
ab16933575
lnwallet: commit tx should have final sequence num
Olaoluwa Osuntokun
2016-02-05 20:24:32 -08:00
81a4887d11
lnwallet: move lockTimeToSequence to script_utils.go
Olaoluwa Osuntokun
2016-02-05 20:24:17 -08:00
fa05ee9a22
lnwallet: move pubKey comparison for funding output spend into spendMultiSig func
Olaoluwa Osuntokun
2016-02-05 12:33:22 -08:00
4632894562
lnwallet: move teardown of rpctest before setup to ensure proper cleanup
Olaoluwa Osuntokun
2016-02-05 12:32:23 -08:00
63b5926e01
add getalltxs, dup checks
Tadge Dryja
2016-02-05 01:59:40 -08:00
25d90f5345
reorganize lots of files, add rebroadcast
Tadge Dryja
2016-02-05 01:16:45 -08:00
9eccb0638a
I think this fixes all sync problems
Tadge Dryja
2016-02-03 20:26:12 -08:00
27def9b623
Merge branch 'master' of github.com:lightningnetwork/lnd
Tadge Dryja
2016-02-03 16:47:56 -08:00
f67e7ba53e
fix gopass dependency change
Tadge Dryja
2016-02-03 16:47:29 -08:00
d1ec44c16d
remove lnwallet unlock in lnd.go it's handled in NewLightningWallet
Olaoluwa Osuntokun
2016-02-03 16:35:17 -08:00
1a8ae48807
lnwallet: point rpctest at my in-progress fork+branch
Olaoluwa Osuntokun
2016-02-03 12:05:53 -08:00
daeecd5fc0
lnwallet: nuke most of setup.go, no longer needed w/ wallet.Loader
Olaoluwa Osuntokun
2016-02-03 12:00:49 -08:00
b3cdc6167f
lnwallet: switch over to using btcwallet's new Loader type
Olaoluwa Osuntokun
2016-02-03 12:00:28 -08:00
92c14c99c3
lnwallet: update tests to utilize the in-progress btcsuite/btcd/rpctest package
Olaoluwa Osuntokun
2016-02-02 23:59:27 -08:00
7bebefbd8f
lnwallet: fix script bug, ensure sigScript is set before verification
Olaoluwa Osuntokun
2016-02-02 23:43:12 -08:00
74ee5334f4
lnwallet: allow configurable net param for wallet create/open
Olaoluwa Osuntokun
2016-02-02 23:42:19 -08:00
98bbd314a7
lnwallet: add active Bitcoin network to config
Olaoluwa Osuntokun
2016-02-02 19:09:54 -08:00
80ce49a883
lnwallet: update btcwallet and chain.Client to new upstream API's
Olaoluwa Osuntokun
2016-02-02 18:42:59 -08:00
034cbef66d
lnwallet: avoid goroutines waiting for channel open indefinitely blocking
Olaoluwa Osuntokun
2016-02-02 18:40:27 -08:00
20d471a766
lnwalelt: add note for balance update ntfs
Olaoluwa Osuntokun
2016-01-19 20:39:10 -08:00
d96cf0ec64
lnwallet: fix receiver htlc script
Olaoluwa Osuntokun
2016-01-19 00:19:16 -08:00
0ce4fb1294
lnwallet: properly set transaction version on commit txs
Olaoluwa Osuntokun
2016-01-18 21:35:44 -08:00
10bcaeccc8
Merge branch 'uspvdev'
Tadge Dryja
2016-02-03 00:16:27 -08:00
624e776987
add shell spv testing mode
Tadge Dryja
2016-02-02 23:37:29 -08:00
d4f7fd4504
Merge branch 'master' into elkremdev
Tadge Dryja
2016-02-02 20:46:38 -08:00
2f9fc87636
fix sync, remove sum from TxStore
Tadge Dryja
2016-02-02 19:04:03 -08:00
a9cf239ec3
fix readme, better state machine for sync
Tadge Dryja
2016-02-02 17:14:13 -08:00
4513d77216
add readme documentation
Tadge Dryja
2016-02-02 02:19:26 -08:00
ead7108b98
add findpre and docs about nLockTime hints
Tadge Dryja
2016-02-02 01:18:59 -08:00
e56b1993fc
move ser/des from utxodb to txstore
Tadge Dryja
2016-02-01 19:03:01 -08:00
f231113b90
some cleanup, store spent txs
Tadge Dryja
2016-01-31 15:02:38 -08:00
cf01e02d64
fix dumb loop break error
Tadge Dryja
2016-01-31 02:08:39 -08:00
3b774ef361
move tx ingest to all db, fixes sync
Tadge Dryja
2016-01-31 01:05:31 -08:00
83dff432b1
mutex helps, still some sequence errors from mblocks
Tadge Dryja
2016-01-29 00:48:14 -08:00
4cd9087f9f
problems with concurrent disk access (header file) maybe add mutexes or something
Tadge Dryja
2016-01-29 00:40:52 -08:00
5c2bbff3eb
fix more sync problems. Seems to work OK
Tadge Dryja
2016-01-28 22:31:05 -08:00
6ef9dc3d4a
not saying it works, but it works better
Tadge Dryja
2016-01-28 19:35:49 -08:00
d9afd623eb
new stxo struct and more db methods
Tadge Dryja
2016-01-27 01:24:16 -08:00
851d3533e5
deals with incoming blocks and txs gets stuck on reorgs though, until program is restarted
Tadge Dryja
2016-01-22 17:15:56 -08:00
5a7c04bdb5
incoming invs and tx signing when we get inv messages, txs are easy but blocks are a little tricky block heigh synchronization is done via os' file system signing is a bit inelegant (searches through inputs for pkscript matches) but fast enough in practice
Tadge Dryja
2016-01-22 16:04:27 -08:00
01c35e62ab
check for already known txs (due to reorg?)
Tadge Dryja
2016-01-22 01:41:08 -08:00
fbc424492d
update filters as txs come in; missed some before
Tadge Dryja
2016-01-21 21:50:42 -08:00
fc100921e8
add pushtx, and outpoint comparitor
Tadge Dryja
2016-01-21 17:59:50 -08:00
9215c18113
keep track of addresses, check incoming txs for full pkscript match
Tadge Dryja
2016-01-21 01:04:45 -08:00
b7a2c46ea6
remove storage of pkscript; don't need it.
Tadge Dryja
2016-01-20 22:57:05 -08:00
278971936f
pass network parameters as function arg
Tadge Dryja
2016-01-20 21:27:58 -08:00
73bbb29026
add keyfileio to manage private key storage on disk
Tadge Dryja
2016-01-20 21:08:05 -08:00
1f40c7214e
good enough storage of spent txs
Tadge Dryja
2016-01-20 01:23:47 -08:00
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.
Tadge Dryja
2016-01-19 23:40:04 -08:00
0b5daa9b2b
add utxodb for on disk storage of transactions.
Tadge Dryja
2016-01-19 20:02:18 -08:00
58c8d32ac5
add a height channel to keep track of incoming merkleblocks
Tadge Dryja
2016-01-19 14:23:18 -08:00
ece5dc9d2d
add txtostring
Tadge Dryja
2016-01-19 11:59:01 -08:00
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?
Tadge Dryja
2016-01-19 10:59:13 -08:00
7dbf4a4a4f
update uspv, add function for height from header still a bunch of problems getting utxo sets
Tadge Dryja
2016-01-19 01:33:58 -08:00
24afe237db
Merge branch 'master' into uspvdev
Tadge Dryja
2016-01-19 00:31:09 -08:00
dd2c2274c8
export fields from lnid and add deserialization method
Tadge Dryja
2016-01-19 00:05:02 -08:00
229e34b326
make SPVCon version agnostic
Tadge Dryja
2016-01-18 23:43:41 -08:00
3fecd67920
cycle sender / receiver to bytes and back
Tadge Dryja
2016-01-18 23:28:14 -08:00
c1212d1369
off by 1 fix, a little more serdes check
Tadge Dryja
2016-01-18 21:26:28 -08:00
2b66c234c6
actually remove current from sender and calc on the fly for addnext
Tadge Dryja
2016-01-18 21:08:16 -08:00
2301af5615
remove "current" from receiver, add very simple serialization test
Tadge Dryja
2016-01-18 21:04:53 -08:00
d4a31d4127
add initial unit test for elkrem send / receive
Tadge Dryja
2016-01-18 20:43:02 -08:00
6f8cf3d75a
remove node serdes, pretty sure it's redundant
Tadge Dryja
2016-01-18 20:17:15 -08:00
a3f65bb4ad
serialization / deserialization of elkrem built, untested
Tadge Dryja
2016-01-18 20:15:51 -08:00
fc5e58ad7d
add serdes (start) for elkrem
Tadge Dryja
2016-01-18 18:24:34 -08:00
26d9ae7f2b
add tcp dial bypass for pbx
Tadge Dryja
2016-01-17 22:32:19 -08:00
10835c6498
README: remove build error disclaimer
Olaoluwa Osuntokun
2016-01-17 21:53:14 -08:00
8e54e0c339
lnstate: fix compile errors
Olaoluwa Osuntokun
2016-01-17 21:44:13 -08:00
872db633df
uspv: file compile error
Olaoluwa Osuntokun
2016-01-17 21:43:57 -08:00
1f11e011de
Merge pull request #3 from PaulCapestany/master
Tadge Dryja
2016-01-17 20:59:13 -08:00
f24d9af85a
Fix capitalization so go get instructions work properly
Paul Capestany
2016-01-17 19:59:54 -08:00
80b20bd039
Update README with general build instructions
Paul Capestany
2016-01-17 19:53:50 -08:00
5bddb611dc
Fix build issue for lncli
Paul Capestany
2016-01-17 19:18:08 -08:00
3f74cee023
Address go install issues
Paul Capestany
2016-01-17 19:14:47 -08:00
b0a402bc4f
remove ID private key from LNDConn struct
Tadge Dryja
2016-01-17 11:20:40 -08:00
9e5f302288
move lnadr from main to lndc package
Tadge Dryja
2016-01-17 10:45:07 -08:00
ba0f86d4dc
README: add description for lnrpc
Olaoluwa Osuntokun
2016-01-16 21:10:01 -08:00
cabf36e02d
Merge pull request #2 from PaulCapestany/master
Olaoluwa Osuntokun
2016-01-16 20:57:27 -08:00
2a66e4faa9
Merge pull request #1 from kanzure/fix-rusty-name-typo
Olaoluwa Osuntokun
2016-01-16 20:56:01 -08:00
3052c144a4
Fixing some README typos
Paul Capestany
2016-01-16 20:48:11 -08:00
c12aa90cf4
fix rusty russell name typo
Bryan Bishop
2016-01-16 22:43:15 -06:00
5cc8efaa43
implement the gRPC "ConnectPeer" function within rpcserver
Olaoluwa Osuntokun
2016-01-16 19:12:36 -08:00
32d4e3a3b6
lnshell: comment out lnchat, it's in limbo before we add the message to unwire
Olaoluwa Osuntokun
2016-01-16 19:12:03 -08:00
4b696f1690
lncli: remove shell.go, lnshell is a separate package now
Olaoluwa Osuntokun
2016-01-16 19:11:13 -08:00
701de388a0
lncli: add "connect" command
Olaoluwa Osuntokun
2016-01-16 19:10:29 -08:00
3cb1ce050c
create, and start server within main entry point
Olaoluwa Osuntokun
2016-01-16 19:09:41 -08:00
9a775cf66e
add functionality to server for manually establishing outgoing connections
Olaoluwa Osuntokun
2016-01-16 19:09:02 -08:00
1f1b82fe3f
add constructor for core server struct
Olaoluwa Osuntokun
2016-01-16 19:07:44 -08:00
7ecbb2debc
move getPriv to server.go, and rename
Olaoluwa Osuntokun
2016-01-16 19:05:13 -08:00
4366b1b114
lnrpc: remote Listen/Chat, re-compile proto file
Olaoluwa Osuntokun
2016-01-16 19:03:47 -08:00