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