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

93 commits

Author SHA1 Message Date
pm47
56ef710f06 back to SNAPSHOT 2018-01-23 19:11:06 +01:00
pm47
951bcc4750 set version to 0.2-alpha9 2018-01-23 15:29:21 +01:00
Chris Stewart
827f9eee02 Fix 'filename too long' compilation error on encrypted file systems (#385)
This fixes #379.
2018-01-22 17:59:47 +01:00
pm47
74faad53e8 back to SNAPSHOT 2017-12-23 19:26:54 +01:00
pm47
8edb2a478c set version to 0.2-alpha8 2017-12-23 18:37:00 +01:00
Dominique
059f211916 Improve JSON RPC API error handling (#322)
Service pattern matching code visually separates each method and
params to improve the code readability and maintenance. Route completion
is handle on a case by case basis, for each call. This enables better error
management and useful feedback to the caller.

Added custom rejections to handle cases where the given rpc method or
params are not found or not correct.

HTTP code should now be consistent with the error returned.
2017-12-22 21:01:40 +01:00
Fabrice Drouin
88602e48b7 Upgrade to bitcoin-lib 0.9.14 (#304)
* `Transaction.toString()` now returns the tx in hex format

* removed useless `Transaction.write(_)`
2017-12-20 19:22:57 +01:00
pm47
f1afe3f4b7 back to SNAPSHOT 2017-12-14 18:22:39 +01:00
pm47
1155788b5e set version to 0.2-alpha7 2017-12-14 12:28:25 +01:00
Pierre-Marie Padiou
4acfed364e Reduce default fees (#267)
* set more reasonable defaults for routing fees

* removed useless pluginManagement entry
2017-12-08 16:24:43 +01:00
pm47
44f7bd7145 bcak to SNAPSHOT 2017-12-06 19:19:30 +01:00
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