Commit graph

  • 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
  • 47608de57d Added possibility to choose network mkl 2016-01-27 12:43:58 -05:00
  • d9afd623eb new stxo struct and more db methods Tadge Dryja 2016-01-27 01:24:16 -08:00
  • 8823efb58e Deleted debug print. Added configuration option for btcd server. mkl 2016-01-26 13:23:08 -05:00
  • 199bafb73e replace all instances of 'ln' with 'lightning' in README.md Ryan Shea 2016-01-25 23:21:44 -05:00
  • 954f0c4f87 Added debug messages mkl 2016-01-25 04:50:41 -05: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
  • 63538c4073 Merge ae0a28aea9 into 26d9ae7f2b Paul Capestany 2016-01-19 05:53:22 +00: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
  • ae0a28aea9 Address (most*) golint issues Paul Capestany 2016-01-18 02:59:01 -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
  • 5f35aafe92 remove stale notes Olaoluwa Osuntokun 2016-01-17 13:13:42 -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
  • f9a0e05ada add copyright, license and discouragement in readme Olaoluwa Osuntokun 2016-01-16 00:29:02 -08:00
  • e910f6a9e1 add README Olaoluwa Osuntokun 2016-01-15 19:14:34 -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
  • 49a1004863 fix compile error Olaoluwa Osuntokun 2015-10-25 14:13:04 -07:00
  • 164fd692dd sphinx now passes initial end-to-end tests!!! Olaoluwa Osuntokun 2015-10-25 13:53:37 -07:00
  • eb8ec2c2ab add padding to destination address in tests Olaoluwa Osuntokun 2015-10-25 13:51:02 -07:00
  • 9b78bc5ee4 Fix one final off by one error, onion wasn't being encrypted for first hop correctly Olaoluwa Osuntokun 2015-10-25 13:50:38 -07:00
  • 8b88400ec5 Fix off by one error in main shared secret generation loop Olaoluwa Osuntokun 2015-10-24 13:22:24 -07:00
  • fe98fecebe Properly calculate shared secret for each hop Olaoluwa Osuntokun 2015-10-24 13:21:00 -07:00
  • e7def0be20 properly calculate filler bytes for header padding Olaoluwa Osuntokun 2015-10-24 12:23:30 -07:00
  • 7d3ce833a7 fix off-by-one in main mix-header generation loop Olaoluwa Osuntokun 2015-10-23 22:00:04 -07:00
  • ac4f40d033 Initial end-to-end tests, failing atm... Olaoluwa Osuntokun 2015-10-22 13:22:33 -07:00
  • e1c165a373 for testing, destAddr is just some string Olaoluwa Osuntokun 2015-10-22 13:22:16 -07:00
  • 15fd3085dd hack: restrict AES keySize to 16 Olaoluwa Osuntokun 2015-10-22 13:22:04 -07:00
  • 2e89e5a4be don't need the final identifier to create forwarding message Olaoluwa Osuntokun 2015-10-22 13:21:14 -07:00
  • 4b304adf2a expand filler bytes to full size, avoids panic Olaoluwa Osuntokun 2015-10-22 13:20:52 -07:00
  • 066f72e6ec add default net for future testing Olaoluwa Osuntokun 2015-10-22 13:20:15 -07:00
  • 9d39ffbdd8 derive nodeID/addr from the nodes pubKey Olaoluwa Osuntokun 2015-10-22 12:23:01 -07:00
  • 2edf9209f6 update comments, tests forthcoming Olaoluwa Osuntokun 2015-10-22 12:15:14 -07:00