1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-23 06:35:11 +01:00
Commit graph

564 commits

Author SHA1 Message Date
pm47
d554d649ee changed conf keys 'address' to 'host' 2016-08-11 14:26:14 +02:00
pm47
cd164a8349 added an 'info' api method 2016-08-11 14:21:13 +02:00
pm47
5931df0420 now using IRC instead of p2p gossip for routing information, and dijkstra for route calculation 2016-08-10 17:48:44 +02:00
pm47
bd6e2b1837 Merge branch 'master' of github.com:ACINQ/eclair into wip-gossip 2016-08-10 11:44:18 +02:00
sstone
acf39f0146 process the tail of the tcp frame before sending auth 2016-08-10 11:34:41 +02:00
pm47
a23ec690d5 Merge branch 'master' of github.com:ACINQ/eclair into wip-gossip 2016-08-10 11:21:07 +02:00
sstone
2d3c30ebcd fix tcp frame handling 2016-08-10 11:17:15 +02:00
sstone
e12a5d12fa create a tx to spend received htlcs from their current commit tx 2016-08-04 19:10:59 +02:00
sstone
6d831c8005 code cleanup 2016-08-02 15:05:38 +02:00
sstone
a01b98022a do not sent htlcs after you've sent a close_clearing message 2016-08-01 18:49:25 +02:00
pm47
2f39c50292 Merge branch 'wip-uniclose' into wip-gossip 2016-07-22 16:33:59 +02:00
pm47
5036f8118f Merge branch 'master' into wip-uniclose 2016-07-22 16:33:44 +02:00
pm47
747fea7957 updated README 2016-07-22 16:33:21 +02:00
pm47
afa68402d3 merged master->wip-uniclose->wip-gossip 2016-07-22 15:42:26 +02:00
pm47
bd59ef3b8d merged from master 2016-07-22 15:35:36 +02:00
pm47
fe8647422d Merge branch 'wip-uniclose' into wip-gossip 2016-07-22 15:27:04 +02:00
pm47
93aaa6f2ef Merge branch 'wip-uniclose' of github.com:ACINQ/eclair into wip-uniclose 2016-07-22 15:26:45 +02:00
pm47
29d2b0134c mega-merge from wip-uniclose 2016-07-22 15:24:29 +02:00
pm47
cf09c1caaf fixed formatting 2016-07-21 12:46:52 +02:00
sstone
9dbaaaefa9 lightning interop test: use 6015cedee8 2016-07-20 18:50:01 +02:00
Pierre-Marie Padiou
9d419b9d8a Wip uniclose txdb (#15)
* implement a basic tx db that stores how to spend revoked transactions

it's a simple db that stores spending tx indexed by their parent id

* bumped akka version to 2.4.8

* fixed wrong data type in CLEARING and NEGOTIATING handlers

* added a few common handlers

* moved sendAdd/receiveAdd logic to Commitments.scala

* moved htlc index to Commitments class

* cleaned up sig handlers

* removed unused variable

* storing their commit's txid so that we can identify spending tx

* added a log to unimplemented function 'handleTheirSpentCurrent'

* changed ascii art helpers->handlers

* fix misleading comments and code in Channel

* removed unused imports

* added test showing bug when two htlcs share the same r

* added a failing test showing that punish tx output isn't p2wpkh

* fix failing test

* use P2WPKH instead of P2PKH in our "punishment" tx

* fix failing test

* added helper methods in test

* fixed test
2016-07-20 17:39:19 +02:00
pm47
90811d1d5a added BITCOIN_ANCHOR_SPENT handlers 2016-07-19 17:48:57 +02:00
pm47
821a9fd68a added tests to NEGOTIATING state 2016-07-19 17:43:19 +02:00
pm47
818928be67 added missing handler for error pkts in NEGOTIATING state 2016-07-19 16:50:25 +02:00
pm47
381b495a61 added tests to CLEARING state 2016-07-19 16:42:31 +02:00
pm47
7dc8e5b1cc added a few tests to NORMAL state 2016-07-19 13:28:39 +02:00
pm47
64638e27bb added CORS headers 2016-07-19 11:48:34 +02:00
pm47
1df016b367 disabled mutual close tests 2016-07-19 11:45:17 +02:00
pm47
45d0ab6d8e Merge branch 'wip-uniclose' of github.com:ACINQ/eclair into wip-uniclose 2016-07-19 10:51:46 +02:00
sstone
44096e39e1 fix interop test 2016-07-13 15:05:25 +02:00
Pierre-Marie Padiou
785aa73eac Wip-scalapbc (#14)
* using scalapb binary

* switched to unix file separator

* removed protoc compilation (because we are using precompiled scalapb
2016-07-13 13:04:37 +01:00
pm47
f8c84e2d20 more tests for NORMAL state (showing bug in close_clearing) 2016-07-12 18:04:22 +02:00
pm47
fbf40358f3 updated scalapb to 0.4.21 and set java version to 1.7 2016-07-12 17:41:36 +02:00
pm47
9b949bb989 fixed pattern matching warnings 2016-07-12 16:04:17 +02:00
sstone
89073fbb5f Merge branch 'wip-uniclose' of https://github.com/ACINQ/eclair into wip-uniclose 2016-07-12 12:29:46 +02:00
sstone
90e875030e move interop test binaries into os-specific directories.
This way, we will be able to run our interop tests on osx or windows (if
we manage to cross-compile lightningd)
2016-07-12 12:27:33 +02:00
pm47
7bc2ef59a6 Merge branch 'wip-uniclose' of github.com:ACINQ/eclair into wip-uniclose 2016-07-11 19:45:45 +02:00
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