Commit Graph

  • 1b9d34f614 channeldb: don't store commit sig separately, expected to be within the txin of the commit tx Olaoluwa Osuntokun 2015-12-28 14:16:55 -0600
  • 1fd1d87e34 lnwallet/tests: include csv delay in channel reservation init, add doc strings Olaoluwa Osuntokun 2015-12-28 14:16:20 -0600
  • b95eb25595 lnwallet: generate a commitment transaction signature fo bob in wallet_test.go Olaoluwa Osuntokun 2015-12-28 14:15:46 -0600
  • 9840585757 lnwallet: actually use 'amount' parameter Olaoluwa Osuntokun 2015-12-28 14:14:26 -0600
  • 6eb77b02c2 lnwallet: add comments to wallet.go Olaoluwa Osuntokun 2015-12-28 14:14:00 -0600
  • 8ca8eb60fb lnwallet: verify received commitment tx signature is valid Olaoluwa Osuntokun 2015-12-28 14:13:41 -0600
  • 695a1e6c45 lnwallet: sign the REDEEMSCRIPT not the p2sh script :) Olaoluwa Osuntokun 2015-12-28 14:13:07 -0600
  • 17f37cc254 lnwallet: shutdown rpc connection during stoppage Olaoluwa Osuntokun 2015-12-28 14:12:39 -0600
  • 36e7c38812 lnwallet: introduce mutex around coin selection logic Olaoluwa Osuntokun 2015-12-28 14:12:18 -0600
  • 7874357384 lnwallet: remove unused struct Olaoluwa Osuntokun 2015-12-28 14:11:32 -0600
  • 161b1b5e4c Message interface and stuff. Joseph Poon 2015-12-28 03:24:16 -0800
  • f51a5a6458 Holy shit pointer crap was annoying! Serialize/deserialize works now. Joseph Poon 2015-12-26 23:52:20 -0800
  • 0c0900006d Upon further reflection Our/Their seperation makes no sense Joseph Poon 2015-12-26 20:37:17 -0800
  • b79d0cc65a (still need to fix deserialize... io wasn't working so I'm using bytes) Joseph Poon 2015-12-26 18:23:58 -0800
  • 09f07770fd Funding request serialize/deserialize (io reader/writer and pointers were very confusing -_-;) Joseph Poon 2015-12-26 18:20:25 -0800
  • 7990d9501a Merge branch 'master' of li.lan:labs/plasma Olaoluwa Osuntokun 2015-12-26 12:35:42 -0600
  • 4fdb2763e6 channeldb: create new channeldb package, update lnwallet to use new API Olaoluwa Osuntokun 2015-12-26 12:35:15 -0600
  • d7a1c5d337 lnwallet: check for nil buckets during fetch in channeldb Olaoluwa Osuntokun 2015-12-26 00:12:31 -0600
  • 3e2a753271 lnwallet: touch config smelly Olaoluwa Osuntokun 2015-12-26 00:11:39 -0600
  • a10a678505 add some daemon related skeleton files Olaoluwa Osuntokun 2015-12-26 00:09:17 -0600
  • 0307f321ad lnwallet: switch LightningChannel struct to use channeldb instead of raw namespace Olaoluwa Osuntokun 2015-12-26 00:08:04 -0600
  • 890ceecc1a lnwallet: csv delay is a uint32, fill forgotten fields in channel state Olaoluwa Osuntokun 2015-12-26 00:07:30 -0600
  • b4e33587b1 lnwallet: switch to using channeldb Olaoluwa Osuntokun 2015-12-26 00:05:55 -0600
  • ff92efe7df lnwallet: add node's ID to reservation workflow Olaoluwa Osuntokun 2015-12-26 00:05:07 -0600
  • 4bb526854a lnwallet: fix bug don't set TheirCommitSig twice Olaoluwa Osuntokun 2015-12-26 00:03:53 -0600
  • e345f72d69 lnwallet: implement FetchOpenChannel and PutOpenChannel Olaoluwa Osuntokun 2015-12-25 18:00:44 -0600
  • 1386d798f5 lnwallet: add tests for serialization of OpenChannelState Olaoluwa Osuntokun 2015-12-25 17:00:53 -0600
  • 8e5f028eea lnwallet: create channeldb.go add serialization methods for OpenChannel Olaoluwa Osuntokun 2015-12-25 17:00:20 -0600
  • c2403d4b2d shachain: switch encode/decode methods to use io.Reader/Writer Olaoluwa Osuntokun 2015-12-24 12:48:24 -0600
  • 5840786922 lnwallet: save redeemScript in channel state Olaoluwa Osuntokun 2015-12-24 12:42:29 -0600
  • 15f15bb3af rename revocation package to shachain Olaoluwa Osuntokun 2015-12-24 12:42:03 -0600
  • 07646d05db move channel state struct to channeldb.go Olaoluwa Osuntokun 2015-12-24 12:41:15 -0600
  • 868ac0aca0 revocation: switch to tadge's bit-shifting to figure out log2 instead of using math Olaoluwa Osuntokun 2015-12-23 12:12:53 -0600
  • fc9ebb52f3 Refactor funding request, will separate to multiple files later Joseph Poon 2015-12-23 00:08:34 -0800
  • a4762b818f Merge branch 'master' of li.lan:labs/plasma Olaoluwa Osuntokun 2015-12-22 22:39:28 -0600
  • 882e7640d5 lnwallet: update tests to switch to new workflow Olaoluwa Osuntokun 2015-12-22 22:32:18 -0600
  • d24831dc29 lnwallet: update workflow around contributions Olaoluwa Osuntokun 2015-12-22 22:31:17 -0600
  • e762d328fa lnwallet: add ChannelContribution, finalize ChannelReservation API/workflow Olaoluwa Osuntokun 2015-12-22 22:30:11 -0600
  • b606804934 lnwallet: add comments to fields of OpenChannelState Olaoluwa Osuntokun 2015-12-22 22:27:33 -0600
  • 55c8710cb9 Minor optimization in script opcodes Joseph Poon 2015-12-22 16:45:21 -0800
  • fbc5f37d0b remove dependencies on mathematics Tadge Dryja 2015-12-21 22:36:28 -0500
  • 36ec5b4927 lnwallet: update tests to AddContribution API change Olaoluwa Osuntokun 2015-12-21 15:55:17 -0600
  • 829f67f33e lnwallet: CompleteReservation now includes sig for commit tx Olaoluwa Osuntokun 2015-12-21 15:54:33 -0600
  • 584fc9b620 lnwallet: AddFunds is now AddContribution, accounts for commitment tx Olaoluwa Osuntokun 2015-12-21 15:53:34 -0600
  • e7e546af9a lnwallet/reservation: fundingLockTime is int64 track their revoke hash Olaoluwa Osuntokun 2015-12-21 15:49:57 -0600
  • d7d569b267 lnwallet: track their current commitment sig in channel state Olaoluwa Osuntokun 2015-12-21 15:49:34 -0600
  • 06bad8ba42 revocation: fix integer underflow infinite loop bug in sha chain Olaoluwa Osuntokun 2015-12-21 15:47:36 -0600
  • d7fba0e89d revocation: fix nil pointer panic in shachain constructor Olaoluwa Osuntokun 2015-12-21 15:41:23 -0600
  • b9a6155021 lnwallet: add field to track current out-of-chain revocation hash Olaoluwa Osuntokun 2015-12-20 21:48:56 -0600
  • 8cbbba14a4 lnwallet: assume symmetric initial channel balance Olaoluwa Osuntokun 2015-12-20 21:48:45 -0600
  • 6d006ac79c lnwallet: sort inputs/outputs in commit tx Olaoluwa Osuntokun 2015-12-20 21:47:57 -0600
  • d3fe04ab9b lnwallet: add function to locate script index to script_utils.go Olaoluwa Osuntokun 2015-12-20 21:47:29 -0600
  • baf3b70e31 plasma: correct commit with sketch of lnwire.Message interface Olaoluwa Osuntokun 2015-12-20 21:47:00 -0600
  • 422f0a9791 revocation: split up methods to get current pre-image and hash Olaoluwa Osuntokun 2015-12-20 21:46:41 -0600
  • 34e35fe2d5 lnwallet: set commit tnx related info in ChannelReservation Olaoluwa Osuntokun 2015-12-20 17:13:14 -0600
  • c7d604fd0b lnwallet: use funcs in script_utils.go Olaoluwa Osuntokun 2015-12-20 17:11:21 -0600
  • 30523d7db3 lnwallet: import badge's script utils in new file Olaoluwa Osuntokun 2015-12-20 17:10:24 -0600
  • f52f2fd26c plamas/peer: just use net.Conn for generality Olaoluwa Osuntokun 2015-12-20 17:10:09 -0600
  • 093bbf40ad lnwallet: track some more stats in channel state Olaoluwa Osuntokun 2015-12-20 15:17:13 -0600
  • d5f36d81c8 plasma: rough draft of peer struct Olaoluwa Osuntokun 2015-12-20 15:16:38 -0600
  • d2e3b376ea lnwallet: re-name package to lnwallet, though it was? Olaoluwa Osuntokun 2015-12-20 00:00:50 -0600
  • 61f5772c40 lnwallet: re-use same wallet instance across tests Olaoluwa Osuntokun 2015-12-18 21:48:55 -0600
  • 29d381ad21 lnwallet: adapt tests to field changes Olaoluwa Osuntokun 2015-12-18 21:47:47 -0600
  • 420e34cc91 lnwallet: forgot some field name changes Olaoluwa Osuntokun 2015-12-18 21:43:37 -0600
  • a689595054 lnwallet: comment out lnwire-like serialization stuff for now Olaoluwa Osuntokun 2015-12-18 21:42:49 -0600
  • 2f7a801dcb lnwallet: embed channel state within ChannelReservation Olaoluwa Osuntokun 2015-12-18 21:39:51 -0600
  • 6bb37448f0 lnwallet: add num updates and delivery addresses to channel state Olaoluwa Osuntokun 2015-12-18 21:35:40 -0600
  • 6af4aaf71b lnwallet: separate channel state into new struct Olaoluwa Osuntokun 2015-12-18 15:37:13 -0600
  • 39b100b865 Serialize Funding Request and script for CLTV-only Joseph Poon 2015-12-18 11:29:35 -0800
  • feb00e04c4 lnwallet: add fun to create initial Commitment Tx Olaoluwa Osuntokun 2015-12-16 22:58:49 -0600
  • 48c1c39dc9 lnwallet: add skeleton for LightningChannel Olaoluwa Osuntokun 2015-12-16 22:58:01 -0600
  • a83dac4e86 revocation: skeleton for possibly needed method? Olaoluwa Osuntokun 2015-12-16 22:56:11 -0600
  • ddb74258ff lnwallet: import tadge's p2shify func Olaoluwa Osuntokun 2015-12-16 22:55:52 -0600
  • e2c4ccbe28 chaintfns: skeleton of first notifier Olaoluwa Osuntokun 2015-12-16 22:55:22 -0600
  • d9f32db185 empty daemon entry point Olaoluwa Osuntokun 2015-12-16 18:42:52 -0600
  • 139e63c9cf shachain: constructors for remote vs origin Olaoluwa Osuntokun 2015-12-16 18:42:07 -0600
  • ce42741daa First stab at shachain. Untested. Still doin't really get it... Olaoluwa Osuntokun 2015-12-16 18:36:03 -0600
  • 147748d178 rename wallet to lnwallet Olaoluwa Osuntokun 2015-12-16 14:51:59 -0600
  • 9de294c31f add link to explanation Olaoluwa Osuntokun 2015-12-16 14:49:01 -0600
  • f475f6a0f2 Merge branch 'master' of li.lan:labs/plasma Olaoluwa Osuntokun 2015-12-16 14:46:42 -0600
  • 69936d694c revocation: HyperShaChan sounds cooler... Olaoluwa Osuntokun 2015-12-16 14:43:59 -0600
  • 1621b8cc99 wallet/wallet_test: test for canceling reservations Olaoluwa Osuntokun 2015-12-16 14:41:15 -0600
  • 24efbb46c3 wallet/reservation: Cancel needs to return an error Olaoluwa Osuntokun 2015-12-16 14:40:44 -0600
  • 354bc74d3c Flesh out LightningChannel struct a bit more Olaoluwa Osuntokun 2015-12-16 14:40:11 -0600
  • 07984836e4 Create skeleton for revocation methods Olaoluwa Osuntokun 2015-12-16 14:39:05 -0600
  • b2522ef75a Create skeleton for chain notifications Olaoluwa Osuntokun 2015-12-16 14:38:21 -0600
  • dd9552c980 wallet_test: add tests exercising output locking for concurrent safe funding Olaoluwa Osuntokun 2015-12-16 13:22:36 -0600
  • f70027fe76 add SegWit to support channel types Olaoluwa Osuntokun 2015-12-16 13:04:51 -0600
  • 51dab18446 Committed the wrong _test file earlier... Joseph Poon 2015-12-16 10:57:22 -0800
  • a154e248ae Taking a look... Joseph Poon 2015-12-16 10:50:05 -0800
  • cc6c59a427 wallet_test: ensure funding tx has been properly stored Olaoluwa Osuntokun 2015-12-15 16:19:17 -0600
  • 6bb5febe9e notes to self Olaoluwa Osuntokun 2015-12-15 16:18:43 -0600
  • 41065a4538 check signatures in test itself, test-node infra not set up Olaoluwa Osuntokun 2015-12-15 15:25:22 -0600
  • 46ad8389b2 note to self on steps after funding broadcast Olaoluwa Osuntokun 2015-12-15 15:24:43 -0600
  • cd8a4ccfa5 comment out gettxout logic for now, need test-node infrastructure Olaoluwa Osuntokun 2015-12-15 15:24:19 -0600
  • 6f9ba620a8 grab the full script instead of just the hash for the change addr Olaoluwa Osuntokun 2015-12-15 15:23:56 -0600
  • 4f89f8719c bob's txin shouldn't have the pkscript as the sig :) Olaoluwa Osuntokun 2015-12-15 15:23:17 -0600
  • 42880b5b4c fix panic when creating bob-node Olaoluwa Osuntokun 2015-12-15 15:22:54 -0600
  • a5d915dea2 mental note to self Olaoluwa Osuntokun 2015-12-15 15:22:33 -0600
  • 1cad40aaf0 add "future" open channel to reservation Olaoluwa Osuntokun 2015-12-15 15:22:18 -0600