1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-24 14:50:46 +01:00
Commit graph

377 commits

Author SHA1 Message Date
pm47
46af9c8c4d merged 2016-07-11 19:45:14 +02:00
pm47
c79b101291 added a bunch of tests to NORMAL state 2016-07-11 19:35:54 +02:00
sstone
b3fff8af95 add bitcoin and lightning binaries, use them from our interop test
We use bitcoind 91abb77970f47b1f6166e564bc695ed30c75bb63
and lightningd 7727797bee8454d4bfaa310c578b94081187f59d from
https://github.com/sstone/lightning branch estimatefee.
Our interop test will now launch lightningd and bitcoind (in regtest mode).
This works on linux only.
2016-07-07 18:18:56 +02:00
sstone
3d1e67b785 use a less verbose toString for ShaChain 2016-07-07 18:11:09 +02:00
sstone
8dd8e5f7cc Merge branch 'master' into wip-uniclose 2016-07-07 12:34:26 +02:00
Fabrice Drouin
0c06f7c9f5 compatibility with lightningd (#13)
* upgrade code to match latest lightningd

use secp256k1 format for sigs, update .proto, use timeouts in blocks insteads of seconds...

* update interrop test

* update comments and fix a few typos

* added nonreg tests on lightning types

* use our extensions for protobuf messages

* add comment to explain why we need getBlockCount
2016-07-07 12:33:27 +02:00
pm47
51bb812fb5 fixed typo in tests name 2016-07-05 19:17:27 +02:00
pm47
5c12a2eeaa added a complete set of tests for open-> normal states 2016-07-05 19:15:58 +02:00
pm47
2020118c8a refactored tests 2016-07-04 17:19:51 +02:00
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