1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-19 09:54:02 +01:00
Commit Graph

73 Commits

Author SHA1 Message Date
pm47
1ae7885eea now using bitcoinj 0.15-rc4 2017-09-14 18:28:03 +02:00
Pierre-Marie Padiou
a18fac135d Set watchermode=true for bitcoinj watcher (#162) 2017-09-12 15:07:30 +02:00
Pierre-Marie Padiou
c94cb13dd3 Add an experimental SPV mode with bitcoinj (#152) 2017-09-07 17:20:36 +02:00
dpad85
305420bd37 Renamed javafx module to eclair-node-gui and updated binaries name (#137)
* Renamed eclair-node-javafx module to eclair-node-gui

* (build) javafx installer uses project version

* (build) Streamlined capsule names

* (build) mvn generates installer only with `installer` profile. The windows installer does not need to be created in common cases. Decreases `eclair-node-gui` module building time by ~ 1 min

* (readme) updated the `run eclair` commands with the new capsule names
2017-08-23 19:28:18 +02:00
Pierre-Marie Padiou
00aef5c438 Updated bitcoin-lib to 0.9.13 (closes #110) (#132) 2017-08-23 14:16:06 +02:00
sstone
905aebebbd set version back to 0.2-SNAPSHOT 2017-07-19 17:15:04 +02:00
sstone
c85823f5b4 set version to 0.2-alpha4 2017-07-19 17:12:21 +02:00
sstone
ecce374e1b use bitcoin-lib 0.9.12 2017-07-19 16:33:19 +02:00
Pierre-Marie Padiou
073705a957 Implement state-counter retransmission (#105) 2017-07-17 14:28:07 +02:00
Fabrice Drouin
c0ad616a32 Upgrade to bitcoin-lib 0.9.11 (#95)
we now use spongycastle instead of bouncycastle
2017-06-09 17:39:03 +02:00
Pierre-Marie Padiou
d86dd72d78 Separate code into modules (#91) (closes #88) 2017-06-06 18:37:34 +02:00
pm47
097f51f1c5 back to SNAPSHOT 2017-04-25 18:37:26 +02:00
pm47
598c7a99ee set version to 0.2-alpha3 2017-04-25 18:04:48 +02:00
pm47
8fedd5acd9 back to SNAPSHOT 2017-04-07 11:48:10 +02:00
pm47
1e792f63d7 set version to 0.2-alpha2 2017-04-07 11:27:05 +02:00
dpad85
e728cad4ac Access to version/commit id at runtime (#42)
* Added help option in command line; added version in logs

* Version and commit id added in manifest (use Specification-Version for commitId)

* (gui) version in about is now dynamic; ESC key closes about

* Excluded unused protobuf dependency

* Update README.md
2017-03-27 11:14:54 +02:00
pm47
15f6fbdca4 back to 0.2-SNAPSHOT 2017-03-21 17:17:48 +01:00
pm47
05607a01e5 setting pom version to 0.2-alpha1 2017-03-21 16:52:38 +01:00
Fabrice Drouin
dc3c49fbeb BOLT 4: propagate htlc failures upstream (#30)
* BOLT 4: create return packets for failure messages

* bolt 4: add low-level methods for returning error messages

* BOLT 4: return shared secrets along with the onion packet

* codecs: minor fix the UpdateFailHtlc codec

* BOLT 4: return htlc failures
create and propagate htlc failures as per BOLT 4

* update tests

* channel: publish short channel id when restoring data
and not on reconnection

* channel: remove "channel update" parameters from Commitments.sendAdd()

* channel: send "add htlc failed" to relayer
and a more informative message to the sender through handleCommandError

* keep shared secrets local to PaymentLifeCycle
CMD_ADD_HTLC should just know the onion packet (as before), not the shared secrets

* relayer: handle failure cases
wrong expiry, amount, ...

* added a simple test on the fail workflow

* added a 'channel-capacity-exceeded' test

* make PaymentSucceeded and PaymentFailed children of PaymentResult

* relayer: ChannelUpdates should be stored in a Map, not an Option

* reply with update_fail_malformed_htlc when the onion is not parsable

* channel: handle 'update_fail_malformed_htlc' in Shutdown state
and add tests

* minor: AddHtlcSucceeded -> AddHtlcSuccess

* use bitcoin-lib 0.9.10
2017-03-17 17:01:14 +01:00
pm47
db342e8db3 basic 3-hops integration test (setup+send htlc) 2017-03-16 16:19:15 +01:00
sstone
967404a82d persist channels, peers, and router
- channels are pesisted using the transition callback
2017-02-26 19:30:13 +01:00
sstone
85f96e5cf6 update dependencies 2017-02-03 13:55:25 +01:00
pm47
85c52b2efa removed old protobuf dependency and related module 2017-01-31 16:23:35 +01:00
Fabrice Drouin
85a8ec5867 use improved private/public key types from bitcoin-lib 0.9.9 (#23)
* use bitcoin-lib 0.9.9

* use scalar/point/public key types instead of binary data

* minor fix: scalar are encoded on 32 bytes

* fix number encoding error
numbers between 0 and 16 were not encoded properly in redeem scripts

* removed some useless calls to constructors
2017-01-20 17:47:45 +01:00
pm47
e1ae6d2a2e updated bitcoin-lib to 0.9.8 2016-12-19 16:15:50 +01:00
pm47
f213f79821 merged from wip-bolt3 2016-12-08 17:36:23 +01:00
sstone
e8b7e2e780 update pom.xml (use bitcoin-lib 0.9.7) 2016-11-21 18:56:43 +01:00
pm47
cc11ec8d14 moved wire from a module to a package 2016-11-17 13:12:28 +01:00
pm47
23a1749d9a merged from master 2016-11-15 17:22:27 +01:00
pm47
3fc25da461 now using akka-http-json and akka-http-client (removed acinq-tools dependency) 2016-11-08 19:32:01 +01:00
pm47
cbe7d46442 bumped acinq-tools version to 1.3 2016-11-08 11:32:22 +01:00
pm47
fae0663c45 first commit 2016-10-17 17:39:42 +02:00
sstone
966c9985d8 upgrade akka to 2.4.9 2016-08-29 11:10:17 +02:00
sstone
029d64449d upgrade bitcoin-lib to 0.9.6 2016-08-29 11:02:06 +02:00
pm47
a1afe74c40 renamed eclair-demo to eclair-node 2016-08-26 18:31:12 +02:00
sstone
bd4df48bd3 mvn: tell surefire to use more RAM to
this should fix random build failures on travis ("The forked VM terminated without saying properly goodbye")
2016-08-26 12:43:16 +02:00
sstone
a786a7e74c mvn: set version to 0.2-SNAPSHOT 2016-08-25 15:29:33 +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
29d2b0134c mega-merge from wip-uniclose 2016-07-22 15:24:29 +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
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
fbf40358f3 updated scalapb to 0.4.21 and set java version to 1.7 2016-07-12 17:41:36 +02:00
pm47
96645c1930 bumped version to 0.2-SNAPSHOT 2016-06-30 16:09:51 +02:00
sstone
f316aa3887 upgrade bitcoin-lib 2016-06-23 13:09:56 +02:00
pm47
4a859bdd3a merged from wip-bolt2 2016-05-31 11:47:14 +02:00
pm47
a5f21afa67 updated scala and akka 2016-05-30 18:07:02 +02:00
pm47
d2d1514284 wip 2016-05-25 16:29:54 +02:00
sstone
7903e2b53f upgrade to segwit 2016-05-23 17:14:42 +02:00
pm47
30fb6c18eb merged from wip-akka-http 2016-04-29 14:51:45 +02:00