This website requires JavaScript.
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
4c8b10617a
add lnAddr implementation to peer.go, finish peer draft
Olaoluwa Osuntokun
2016-01-16 19:03:03 -08:00
6c51942b03
start http profiling server by default
Olaoluwa Osuntokun
2016-01-16 19:01:06 -08:00
af42bb0a99
lndc: restore new implementation of land
Olaoluwa Osuntokun
2016-01-16 19:25:44 -08:00
f2a1c0368a
Cleanup comments & removed notes on escrow
Joseph Poon
2016-01-16 17:14:35 -08:00
84c0f56330
lnwire/README.md: Hopefully this will be legible
Joseph Poon
2016-01-16 17:11:04 -08:00
85590e0f6c
revert to testnet3 params
Tadge Dryja
2016-01-16 11:11:43 -08:00
e03e21ba80
add parse from string
Tadge Dryja
2016-01-16 11:09:12 -08:00
04b83d024e
rever to older netio
Tadge Dryja
2016-01-16 11:07:20 -08:00
8469b4fd9f
name LNDConn back, put h160 back for now
Tadge Dryja
2016-01-16 10:59:10 -08:00
f81f28c5fe
Merge branch 'master' of github.com:lightningnetwork/lnd
Tadge Dryja
2016-01-16 10:46:19 -08:00
2815afebb7
update imports to github
Tadge Dryja
2016-01-16 10:45:54 -08:00
c7ccbec2aa
README.md: Clarified normalized/segwit & stuff
Joseph Poon
2016-01-16 10:45:11 -08:00
d47105217b
change imports to github.com/lightningnetwork/lnd
Tadge Dryja
2016-01-16 10:38:48 -08:00
5879dae7c0
tweak readme
Tadge Dryja
2016-01-16 00:22:23 -08:00
f6fde399e1
add copyright, license and discouragement in readme
Tadge Dryja
2016-01-16 00:13:11 -08:00
34a958c6ef
add / modify / merge to readme
Tadge Dryja
2016-01-15 18:56:57 -08:00
9d63a9677d
plasma -> lnd
Olaoluwa Osuntokun
2016-01-15 18:27:19 -08:00
230b58adb1
README: add a short description of the rest of the packages within lnd
Olaoluwa Osuntokun
2016-01-15 18:24:38 -08:00
c4d64372c8
update readme
Tadge Dryja
2016-01-15 13:19:13 -08:00
29a8e81029
spv sync works but more to add
Tadge Dryja
2016-01-15 02:40:56 -08:00
2792554c41
lndc: separate into Conn and Listener implementations, add basic tests
Olaoluwa Osuntokun
2016-01-14 23:24:16 -08:00
e6970e132e
spv header sync works OK
Tadge Dryja
2016-01-14 23:08:37 -08:00
6cebc7c952
remove odl filter file; in txstore now
Tadge Dryja
2016-01-14 20:18:43 -08:00
65c7d1c40c
move elkrem, uspv libs to plasma repo
Tadge Dryja
2016-01-14 19:56:25 -08:00
b0ce9a06dc
minor edit
Joseph Poon
2016-01-14 18:51:08 -08:00
0d896f7fc1
Typos
Joseph Poon
2016-01-14 17:27:42 -08:00
f3ce558eb1
typo fix
Joseph Poon
2016-01-14 17:23:22 -08:00
5fc1ff52fc
Typo correction
Joseph Poon
2016-01-14 17:08:18 -08:00
1981001a29
Started working on state machine
Joseph Poon
2016-01-14 17:02:23 -08:00
0c304cbb2f
Flesh out the peer handling skeleton within peer/server
Olaoluwa Osuntokun
2016-01-13 21:41:46 -08:00
07b0d5ca3e
lnwallet: once the reservation workflow is complete, wait then open the payment channel
Olaoluwa Osuntokun
2016-01-06 16:17:18 -08:00
6e0cfaf7ec
lnwallet: re-introduce rpc calls during channel reservation workflow
Olaoluwa Osuntokun
2016-01-06 16:15:49 -08:00
5f705be63b
chainntfs: introduce ChainConnection interface to avoid import cycle and for future tests
Olaoluwa Osuntokun
2016-01-06 15:22:12 -08:00
cf65aaa2c9
lnwallet: have wallet return db so it can be closed during shutdown
Olaoluwa Osuntokun
2016-01-06 15:12:06 -08:00
986eb83ceb
chainntfs: create new ChainNotifier for bfcd-based notifications
Olaoluwa Osuntokun
2016-01-06 13:03:17 -08:00
00f2a0d7c0
chainntfs: remove btcd.go
Olaoluwa Osuntokun
2016-01-06 13:02:08 -08:00
8154b96d67
chainntfs: flesh out initial draft of interface
Olaoluwa Osuntokun
2016-01-06 13:01:50 -08:00
f52b8370bc
lnwallet: populate the update totem during channel initialization
Olaoluwa Osuntokun
2016-01-05 16:30:06 -08:00
27744a3582
lnwallet: add logic for adding/removing HTLCs
Olaoluwa Osuntokun
2016-01-05 13:01:42 -08:00
895d70e79f
lnwallet: add funding tx p2sh output to lnchannel
Olaoluwa Osuntokun
2016-01-05 12:58:08 -08:00
3fe82f475f
lnwallet: correctly adjust cleared funds during AddHTLC
Olaoluwa Osuntokun
2016-01-05 12:57:17 -08:00