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

132 commits

Author SHA1 Message Date
pm47
3d240f5761 set version 0.2-alpha6 2017-12-06 18:34:40 +01:00
Pierre-Marie Padiou
ffb92831e1 Removed default values for commitid in pom (#258)
This is a regression caused by 0794fb8d5a,
because default values provided for `git.commit.id` `git.commit.id.abbrev`
are not overriden by git-commit-id-plugin plugin.

Instead we specify these variables when doing the docker build.
2017-12-06 16:10:22 +01:00
Nicolas Dorier
0794fb8d5a Docker support with repeatable build (#255)
Dependency to `git` has been removed, we now use `notag` when building without
a git directory.

In order to reliably fetch all dependencies, we do a first blank build
(with no source files), then we copy the sources and do a real commit.

This is a simpler and more robust approach.

Also, fixed the .dockerignore to filter out IDE files.
2017-12-05 17:29:47 +01:00
pm47
5b2fbb1bb2 re-added the '-no-link-warnings' option
But this time to `scaladoc` compiler.
2017-12-03 20:33:36 +01:00
pm47
1f36e8261e Revert "added '-no-link-warnings' compiler option"
This reverts commit 552fcd3a73.
2017-12-03 18:56:55 +01:00
pm47
552fcd3a73 added '-no-link-warnings' compiler option
This removes warning due to scaladoc, see:
http://www.scala-archive.org/Scaladoc-2-11-quot-throws-tag-quot-cannot-find-any-member-to-link-td4641850.html
2017-12-03 18:35:53 +01:00
pm47
1c7f66bf5b updated plugin versions 2017-12-03 18:05:47 +01:00
Fabrice Drouin
1f336772b2 back to 0.2-SNAPHOT (#166)
use scala plugin 3.3.1 (mvn scala:console now works)
add Dominique to the list of developpers
2017-09-20 15:16:49 +02:00
pm47
a97fa39fef set version to 0.2-alpha5 2017-09-14 18:41:01 +02:00
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