1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 10:39:19 +01:00
Commit Graph

170 Commits

Author SHA1 Message Date
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
pm47
f7b7fe13cf updated protobuf and bumped version number 2016-04-29 10:13:47 +02:00
pm47
0befdb66a8 upgrading to akka 2.4.4 2016-04-26 18:19:39 +02:00
pm47
305ba1757c updated protobuf 2016-04-18 11:47:12 +02:00
pm47
e28849c21e set version to 0.1-routing-SNAPSHOT (because incompatible protobuf) 2016-03-19 17:45:22 +01:00
pm47
39774b232d merged from master 2016-02-25 16:52:12 +01:00
sstone
b3f5ce4e38 upgrade CSV handling 2016-02-24 17:32:47 +01:00
pm47
e82c7c20e8 updated to akka 2.4.2 and replaced spray by akka-http 2016-02-20 18:36:50 +01:00
pm47
0c8c26f143 custom toString for sha256_hash and signature, updated scalapb to 0.4.21 2016-02-18 17:39:59 +01:00
sstone
030a7cf2d3 set version to 0.1-SNAPSHOT
Squashed commit of the following:

commit 668e6c5b1df18a4e1a1e6d293bc2667dcce67f21
Author: sstone <samuel.stone@hotmail.co.za>
Date:   Wed Feb 17 16:11:30 2016 +0100

    format pom.xml properly

commit ab8f626145a0e6291da80000b47b4ac42a943b3c
Author: sstone <samuel.stone@hotmail.co.za>
Date:   Wed Feb 17 15:47:22 2016 +0100

    fix pom.xml

commit 068afa08d6b498ec2f46b5b4addea676e199d228
Author: sstone <samuel.stone@hotmail.co.za>
Date:   Wed Feb 17 15:20:07 2016 +0100

    mvn does not need . on the PATH anymore
2016-02-17 16:16:46 +01:00
pm47
f1645c678f added an http api 2016-01-25 19:53:56 +01:00
pm47
a26144a845 now using sonatype repos for acinq-tools 2016-01-21 15:04:42 +01:00
pm47
c9c2ba6dcd set bitcoin-lib version as property 2016-01-21 12:56:08 +01:00
pm47
ea0cf0d795 implemented a simple polling blockchain watccher 2016-01-20 12:20:01 +01:00
pm47
6fd6c83c45 upgraded to akka 2.4.1 2016-01-05 14:27:40 +01:00
pm47
c560f8e6e5 updated akka version 2015-09-09 11:35:43 +02:00
sstone
c8cb8685f5 Merge branch 'master' of https://github.com/ACINQ/eclair 2015-09-08 19:41:42 +02:00
sstone
2d66f11236 fix conversion tests 2015-09-08 19:36:57 +02:00
pm47
5b9f18cf90 added scalatest mvn plugin 2015-09-08 18:34:12 +02:00
pm47
437945b9f0 updated group id 2015-08-19 15:54:38 +02:00
pm47
a49a52b53d replaced 2.11 by scala.version.short in pom 2015-08-19 15:50:41 +02:00
pm47
372a8b519b lightning types are now generated 2015-08-19 15:43:58 +02:00
sstone
b9ae8f8709 set groupId to fr.acinq.eclair 2015-08-19 14:05:14 +02:00
sstone
32eeba22be first commit 2015-08-19 13:57:05 +02:00