Fabrice Drouin
0c06f7c9f5
compatibility with lightningd ( #13 )
...
* upgrade code to match latest lightningd
use secp256k1 format for sigs, update .proto, use timeouts in blocks insteads of seconds...
* update interrop test
* update comments and fix a few typos
* added nonreg tests on lightning types
* use our extensions for protobuf messages
* add comment to explain why we need getBlockCount
2016-07-07 12:33:27 +02:00
pm47
96645c1930
bumped version to 0.2-SNAPSHOT
2016-06-30 16:09:51 +02:00
Pierre-Marie Padiou
6204627dff
Merge pull request #12 from ACINQ/wip-bolt2
...
Merge wip-bolt2 into master
2016-06-30 16:03:35 +02:00
sstone
6993dd0263
store received preimages in a shachain.
...
Beef up channel and interroperability tests.
2016-06-23 16:23:44 +02:00
sstone
f316aa3887
upgrade bitcoin-lib
2016-06-23 13:09:56 +02:00
sstone
87fed03eeb
update shachain implementation
2016-06-23 00:04:19 +02:00
sstone
ca5cb7e8bb
add interoperability test with lightningd
2016-06-09 16:21:14 +02:00
sstone
2ba08d6ad4
update eclair-cli
2016-06-09 16:20:44 +02:00
sstone
673cc61d6b
Merge remote-tracking branch 'origin/wip-bolt2-nakamoto' into wip-bolt2
2016-06-07 17:38:41 +02:00
Fabrice Drouin
d07a201353
create a specific data stucture for commitment data
...
* create a specific data stucture for commitment data
* remove lenses
* move makeFinalTx to Helpers
* remove unused type, clean up CLOSING data
* code cleanup
* check revocation preimage
* use a "either" type to represent their next commit information
We either have their next revocation hash (most of the time), or their next commit
tx (when we've signed and are waiting for their revocation message)
2016-06-07 14:50:10 +02:00
sstone
6d2ee58158
update eclair-cli
2016-06-03 18:02:03 +02:00
sstone
6aebf4ea65
closing: fix clearing phase
2016-06-03 17:56:27 +02:00
sstone
719e92f8fb
add basic bash eclair client
2016-06-02 17:15:36 +02:00
sstone
2ad3dcde82
update TESTING.md
2016-06-02 17:15:11 +02:00
sstone
f0c447a189
Channel: use our fee rate for our first commit tx
2016-06-02 16:29:07 +02:00
sstone
6009ba6c18
use a basic p2pkh script for our final tx
2016-06-02 15:57:29 +02:00
sstone
c23303aee7
API: minor fixes
2016-06-02 15:56:47 +02:00
sstone
a0760ddcad
closing: implement closing fee negociation
2016-06-02 14:30:43 +02:00
sstone
6c69a4082a
start implementing closing
2016-05-31 17:35:42 +02:00
Pierre-Marie Padiou
1f0f8c0e44
Added 'send' macro in test scenario ( #10 )
...
* added 'send' macro in test scenario
* formatting
* formatting
2016-05-31 13:04:09 +02:00
pm47
bafd2a0d34
modified rusty's tests to pass with real channel implementation
2016-05-30 18:10:12 +02:00
pm47
f26718d50c
changed test constants
2016-05-30 18:09:09 +02:00
pm47
370e5bef15
reduced polling initial timeout
2016-05-30 18:08:34 +02:00
pm47
69f9425dce
closing dummy http client in tests
2016-05-30 18:08:16 +02:00
pm47
a5f21afa67
updated scala and akka
2016-05-30 18:07:02 +02:00
pm47
4ee4cb8aa5
added protobuf tostrings
2016-05-30 15:04:58 +02:00
Fabrice Drouin
b055df5338
Wip bolt2 nakamoto ( #9 )
...
* use lightning.proto from lightning-c v0.3-2016-05-26 "Nakamoto's Genesis Coins"
* check that preimage size is 32 bytes (see 1245ffaae3
and
https://lists.linuxfoundation.org/pipermail/lightning-dev/2016-May/000529.html )
2016-05-27 18:30:22 +02:00
sstone
e72d919879
tests should use 32 bytes preimages
2016-05-27 16:26:59 +02:00
sstone
90a5a20651
check that preimage size is 32 bytes
...
see 1245ffaae3
and
https://lists.linuxfoundation.org/pipermail/lightning-dev/2016-May/000529.html
2016-05-27 16:19:16 +02:00
sstone
0b4d3cc161
use lightning.proto from lightning-c v0.3-2016-05-26 "Nakamoto's Genesis Coins"
2016-05-27 12:36:08 +02:00
sstone
0396b5589d
Merge branch 'wip-bolt2' of https://github.com/ACINQ/eclair into wip-bolt2
2016-05-26 18:25:22 +02:00
sstone
d517fa6ec2
fix encryption/decryption bug
2016-05-26 17:45:41 +02:00
Pierre-Marie Padiou
07d489c0d0
Replaced 'find' by 'collect' ( #8 )
...
* replaced 'find' by 'collect'
* fixed bug ourChanges->theirChanges
2016-05-26 14:34:54 +02:00
Pierre-Marie Padiou
291920b7f9
Merge pull request #7 from ACINQ/wip-bolt2-pm
...
merge wip-bolt2-pm into wip-bolt2
2016-05-25 17:47:33 +02:00
Pierre-Marie Padiou
56559a9d8b
Merge pull request #6 from ACINQ/wip-bolt2-pm-fd
...
bolt2 protocol implementation that stores everything
2016-05-25 17:44:52 +02:00
sstone
6ecbc29144
store all changes from both sides
...
each side stores all changes from both sides, and use them to create both commit tx
from scratch.
2016-05-25 16:43:28 +02:00
sstone
26ac967bfc
revert to creating standard (non-segwit) anchor tx
...
this will eventually have to be fixed to avoid malleability issues
2016-05-25 15:55:04 +02:00
sstone
834d2829c5
implement commitment spec update
2016-05-24 23:06:40 +02:00
sstone
b886388b88
fix initial signature exchange
2016-05-23 18:54:54 +02:00
sstone
7903e2b53f
upgrade to segwit
2016-05-23 17:14:42 +02:00
pm47
4bde8bf018
new protocol (WIP!)
2016-05-23 15:55:17 +02:00
Fabrice Drouin
6e961b9541
Merge pull request #5 from ACINQ/wip-bolt2-pm
...
Replaced spray by akka-http
2016-04-29 15:52:33 +02:00
pm47
30fb6c18eb
merged from wip-akka-http
2016-04-29 14:51:45 +02:00
pm47
f7b7fe13cf
updated protobuf and bumped version number
2016-04-29 10:13:47 +02:00
Fabrice Drouin
61fc5ebe24
Merge pull request #4 from ACINQ/wip-bolt2-pm
...
Added complete add/fulfill test and fixed various related bugs
2016-04-29 09:43:07 +02:00
pm47
8c7484256e
includes all IN msg in commit tx
2016-04-28 19:07:47 +02:00
pm47
8904aefbb1
added complete add/fulfill test and fixed various related bugs
2016-04-28 18:20:58 +02:00
Fabrice Drouin
b1ac199482
Merge pull request #3 from ACINQ/wip-bolt2-pm
...
Mocking bitcoinclient instead of blockchain watcher in tests
2016-04-28 11:06:59 +02:00
pm47
a333011915
now using fixtures
2016-04-28 10:58:50 +02:00
pm47
0befdb66a8
upgrading to akka 2.4.4
2016-04-26 18:19:39 +02:00