1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-26 07:22:48 +01:00
Commit graph

1394 commits

Author SHA1 Message Date
Fabrice Drouin
d07a201353 create a specific data stucture for commitment data
* create a specific data stucture for commitment data

* remove lenses

* move makeFinalTx to Helpers

* remove unused type, clean up CLOSING data

* code cleanup

* check revocation preimage

* use a "either" type to represent their next commit information

We either have their next revocation hash (most of the time), or their next commit
tx (when we've signed and are waiting for their revocation message)
2016-06-07 14:50:10 +02:00
sstone
6d2ee58158 update eclair-cli 2016-06-03 18:02:03 +02:00
sstone
6aebf4ea65 closing: fix clearing phase 2016-06-03 17:56:27 +02:00
sstone
719e92f8fb add basic bash eclair client 2016-06-02 17:15:36 +02:00
sstone
2ad3dcde82 update TESTING.md 2016-06-02 17:15:11 +02:00
sstone
f0c447a189 Channel: use our fee rate for our first commit tx 2016-06-02 16:29:07 +02:00
sstone
6009ba6c18 use a basic p2pkh script for our final tx 2016-06-02 15:57:29 +02:00
sstone
c23303aee7 API: minor fixes 2016-06-02 15:56:47 +02:00
sstone
a0760ddcad closing: implement closing fee negociation 2016-06-02 14:30:43 +02:00
pm47
314f5f76ed added a dummy route finder 2016-05-31 17:44:23 +02:00
sstone
6c69a4082a start implementing closing 2016-05-31 17:35:42 +02:00
pm47
68ae8e0965 added payment relay using dummy routing 2016-05-31 15:55:47 +02:00
pm47
36eafb3e92 Merge branch 'wip-bolt2' of github.com:ACINQ/eclair into wip-gossip 2016-05-31 15:43:49 +02:00
Pierre-Marie Padiou
1f0f8c0e44 Added 'send' macro in test scenario (#10)
* added 'send' macro in test scenario

* formatting

* formatting
2016-05-31 13:04:09 +02:00
pm47
1d66284bf1 removed useless logs 2016-05-31 12:07:18 +02:00
pm47
4a859bdd3a merged from wip-bolt2 2016-05-31 11:47:14 +02:00
pm47
bafd2a0d34 modified rusty's tests to pass with real channel implementation 2016-05-30 18:10:12 +02:00
pm47
f26718d50c changed test constants 2016-05-30 18:09:09 +02:00
pm47
370e5bef15 reduced polling initial timeout 2016-05-30 18:08:34 +02:00
pm47
69f9425dce closing dummy http client in tests 2016-05-30 18:08:16 +02:00
pm47
a5f21afa67 updated scala and akka 2016-05-30 18:07:02 +02:00
pm47
4ee4cb8aa5 added protobuf tostrings 2016-05-30 15:04:58 +02:00
Fabrice Drouin
b055df5338 Wip bolt2 nakamoto (#9)
* use lightning.proto from lightning-c v0.3-2016-05-26 "Nakamoto's Genesis Coins"

* check that preimage size is 32 bytes (see 1245ffaae3 and
https://lists.linuxfoundation.org/pipermail/lightning-dev/2016-May/000529.html)
2016-05-27 18:30:22 +02:00
sstone
e72d919879 tests should use 32 bytes preimages 2016-05-27 16:26:59 +02:00
sstone
90a5a20651 check that preimage size is 32 bytes
see 1245ffaae3 and
https://lists.linuxfoundation.org/pipermail/lightning-dev/2016-May/000529.html
2016-05-27 16:19:16 +02:00
sstone
0b4d3cc161 use lightning.proto from lightning-c v0.3-2016-05-26 "Nakamoto's Genesis Coins" 2016-05-27 12:36:08 +02:00
sstone
0396b5589d Merge branch 'wip-bolt2' of https://github.com/ACINQ/eclair into wip-bolt2 2016-05-26 18:25:22 +02:00
sstone
d517fa6ec2 fix encryption/decryption bug 2016-05-26 17:45:41 +02:00
Pierre-Marie Padiou
07d489c0d0 Replaced 'find' by 'collect' (#8)
* replaced 'find' by 'collect'

* fixed bug ourChanges->theirChanges
2016-05-26 14:34:54 +02:00
Pierre-Marie Padiou
291920b7f9 Merge pull request #7 from ACINQ/wip-bolt2-pm
merge wip-bolt2-pm into wip-bolt2
2016-05-25 17:47:33 +02:00
Pierre-Marie Padiou
56559a9d8b Merge pull request #6 from ACINQ/wip-bolt2-pm-fd
bolt2 protocol implementation that stores everything
2016-05-25 17:44:52 +02:00
sstone
6ecbc29144 store all changes from both sides
each side stores all changes from both sides, and use them to create both commit tx
from scratch.
2016-05-25 16:43:28 +02:00
pm47
d2d1514284 wip 2016-05-25 16:29:54 +02:00
sstone
26ac967bfc revert to creating standard (non-segwit) anchor tx
this will eventually have to be fixed to avoid malleability issues
2016-05-25 15:55:04 +02:00
sstone
834d2829c5 implement commitment spec update 2016-05-24 23:06:40 +02:00
sstone
b886388b88 fix initial signature exchange 2016-05-23 18:54:54 +02:00
sstone
7903e2b53f upgrade to segwit 2016-05-23 17:14:42 +02:00
pm47
4bde8bf018 new protocol (WIP!) 2016-05-23 15:55:17 +02:00
Fabrice Drouin
6e961b9541 Merge pull request #5 from ACINQ/wip-bolt2-pm
Replaced spray by akka-http
2016-04-29 15:52:33 +02:00
pm47
30fb6c18eb merged from wip-akka-http 2016-04-29 14:51:45 +02:00
pm47
f7b7fe13cf updated protobuf and bumped version number 2016-04-29 10:13:47 +02:00
Fabrice Drouin
61fc5ebe24 Merge pull request #4 from ACINQ/wip-bolt2-pm
Added complete add/fulfill test and fixed various related bugs
2016-04-29 09:43:07 +02:00
pm47
8c7484256e includes all IN msg in commit tx 2016-04-28 19:07:47 +02:00
pm47
8904aefbb1 added complete add/fulfill test and fixed various related bugs 2016-04-28 18:20:58 +02:00
Fabrice Drouin
b1ac199482 Merge pull request #3 from ACINQ/wip-bolt2-pm
Mocking bitcoinclient instead of blockchain watcher in tests
2016-04-28 11:06:59 +02:00
pm47
a333011915 now using fixtures 2016-04-28 10:58:50 +02:00
pm47
0befdb66a8 upgrading to akka 2.4.4 2016-04-26 18:19:39 +02:00
pm47
cad20a2534 mocking bitcoinclient instead of blockchain watcher in tests 2016-04-26 18:19:19 +02:00
sstone
774cb719dc fix ChannelSpec test 2016-04-26 12:14:08 +02:00
sstone
89bc862b91 add Channel test (partial) 2016-04-25 23:31:19 +02:00