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.
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.
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.
* 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
* 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
* 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
* 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