Commit Graph

3370 Commits

Author SHA1 Message Date
Olaoluwa Osuntokun
2945b8966d add rpc client to wallet 2015-11-27 00:48:42 -06:00
Olaoluwa Osuntokun
0f1bd0fcdd stop embedding btcwallet causing name conflicts 2015-11-27 00:48:20 -06:00
Olaoluwa Osuntokun
1d1ba454f4 pass db-path+hd-seed into wallet init 2015-11-27 00:46:59 -06:00
Olaoluwa Osuntokun
b023120460 add skeleton for shachain packaged
* Still considering if it’s better just to use a modified HD chain or
not:
  * give them child branch/sub-tree etc.
2015-11-18 14:59:51 -08:00
Olaoluwa Osuntokun
5e8a2ed26f add skeleton for initial wallet tests 2015-11-18 14:59:07 -08:00
Olaoluwa Osuntokun
ff82c7d40a add constructor for LightningWallet 2015-11-18 14:38:57 -08:00
Olaoluwa Osuntokun
f28ca7d9dc add btcsuite license to setup.go 2015-11-18 14:38:29 -08:00
Olaoluwa Osuntokun
58d7afa7d3 introduce setup.go to handle initial wallet setup/create plus openening
* will be useful for future tests
2015-11-18 14:38:15 -08:00
Olaoluwa Osuntokun
e17ba7859e add concurrent-safe interface to ChannelReservation state 2015-11-14 11:52:07 -08:00
Olaoluwa Osuntokun
3fad3aabef start of wallet initialization for testing purposes 2015-11-12 19:34:35 -08:00
Olaoluwa Osuntokun
8583814f1f separate out channel init functionality into reservation
* Reservation has synchronous interface, wallet and only wallet should
mutate any of the attributes
2015-11-12 18:43:32 -08:00
Olaoluwa Osuntokun
f775e130e3 add note about normalized taxis 2015-11-12 17:45:18 -08:00
Olaoluwa Osuntokun
c6e7c6b1b6 scrap the multi-sig key pool, better to just use HD paths
* Better to just keep the single file back-up IMO
2015-11-12 17:45:09 -08:00
Olaoluwa Osuntokun
bf5f630e53 note to self, abstract reservations further 2015-11-05 12:36:33 -08:00
Olaoluwa Osuntokun
ca40a2d924 Revamp funding workflow to match p2p workflow
* Now more closely mirrors Joseph’s photos
* 3 step dance: init, theirFunds, theirSigs -> complete
* Currently missing any concept of reserve funds for CLTV
* Many lingering TODO’s still, once addressed will move onto Commitment
TX update, and HTLC workflow
2015-11-05 12:36:19 -08:00
Olaoluwa Osuntokun
ce8be70c74 add funding limbo to store pending channel opens 2015-11-05 12:34:11 -08:00
Olaoluwa Osuntokun
02844741e8 add resource pool for multi-sig keys
* Need to change to instead just use the HD chain so backups aren’t
fragmented

* Optional pre-load on start available, will push EC computations up
front
2015-11-05 12:33:35 -08:00
Olaoluwa Osuntokun
980f5e0879 move coin selection funcs to new file
* Will later include proper tx fee calculation based on size after
selection
2015-11-05 12:32:15 -08:00
Olaoluwa Osuntokun
0b66ed24be initial draft of ln-wallet workflow, funding reservations implemented 2015-10-27 15:50:30 -07:00
Olaoluwa Osuntokun
85e1c7b91c blank README 2015-10-27 15:49:56 -07:00