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

1268 commits

Author SHA1 Message Date
pm47
352889d358 moved checkCloseSignature to Helpers.scala 2016-07-04 16:50:32 +02:00
pm47
5124878733 removed CMD_CLOSE and error handling from whenUnhandled catchall function 2016-07-04 16:42:09 +02:00
pm47
268dc0215b renamed NEGOCIATING to NEGOTIATING 2016-07-04 16:00:01 +02:00
pm47
caab4d9e44 removed unused code and moved comment section 2016-07-04 15:57:36 +02:00
sstone
c70cada8f7 detect when they publish a revoked commit tx and try and steal it 2016-07-01 17:10:02 +02:00
sstone
307bcd5054 Merge branch 'master' into wip-uniclose 2016-07-01 16:26:37 +02:00
sstone
59d1dead71 create a tx that steals their revoked commit tx 2016-07-01 16:22:34 +02:00
sstone
bfb4c98937 add iterators to ShaChain 2016-07-01 16:21:22 +02:00
pm47
96645c1930 bumped version to 0.2-SNAPSHOT 2016-06-30 16:09:51 +02:00
Pierre-Marie Padiou
6204627dff Merge pull request #12 from ACINQ/wip-bolt2
Merge wip-bolt2 into master
2016-06-30 16:03:35 +02:00
sstone
207a2fb3b0 shachain: track which hash index was inserted last 2016-06-24 17:49:33 +02:00
pm47
75b1098300 used RawHeader class for custom headers 2016-06-24 09:54:50 +02:00
sstone
cb5e21959e Merge branch 'wip-bolt2' into wip-uniclose 2016-06-23 17:35:38 +02:00
sstone
6993dd0263 store received preimages in a shachain.
Beef up channel and interroperability tests.
2016-06-23 16:23:44 +02:00
sstone
f316aa3887 upgrade bitcoin-lib 2016-06-23 13:09:56 +02:00
sstone
87fed03eeb update shachain implementation 2016-06-23 00:04:19 +02:00
pm47
54f8e3170f added custom headers 2016-06-17 17:20:49 +02:00
pm47
9434ea2e42 added payment handlers 2016-06-17 15:25:16 +02:00
sstone
25f5cd601f move shachain into commitment data 2016-06-17 14:49:56 +02:00
sstone
2e61f8afa6 implement uniclose before NORMAL state has been reached 2016-06-17 14:25:37 +02:00
sstone
7e1f7236f8 code cleanup 2016-06-10 18:25:31 +02:00
sstone
ca5cb7e8bb add interoperability test with lightningd 2016-06-09 16:21:14 +02:00
sstone
2ba08d6ad4 update eclair-cli 2016-06-09 16:20:44 +02:00
sstone
673cc61d6b Merge remote-tracking branch 'origin/wip-bolt2-nakamoto' into wip-bolt2 2016-06-07 17:38:41 +02:00
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