* 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
* clarified which fee rate we are using in calculations, also feeRate->feerate
* added support for UpdateFee
* fixed closing workflow when starting with different fees
* attempt at solving travis issues
* fixed feeratePerKw not cleaned up after tests
* added test on invalid initial feerate
* fixed bitcoind api calls mixup, tested on mainnet
* rebased from wip-bolts
* The splash window is now a javafx preloader
* Node setup is now handled during the JavaFX application init phase
* During this initialization the preloader is shown (handled by FX).
* Setup events are dispatched from main App to preloader with notifyPreloader
* When setup errors, display them in the preloader. Main gui is not loaded
* implemented long channel-id + delayed announcements
* we now handle the case when disconnected before having sent announcement sigs
* channel-id is now computed as a txHash ^ outputIndex