Matt Corallo
f5225a18b7
Fix chan_utils indentation issue
2018-06-29 16:44:19 -04:00
Matt Corallo
aec0fa485c
A few minor test cleanups and remove new warnings from #32
2018-06-29 16:44:19 -04:00
Matt Corallo
04b0acc9dc
Skip some a needless temporary vec and clean indentation after #32
2018-06-29 16:44:19 -04:00
Matt Corallo
f9ec0a76d4
Merge pull request #32 from ariard/prune_payment_preimages
...
Add pruning of preimages no longer needed + tests
2018-06-29 16:43:56 -04:00
Jean Pierre Dudey
d0e9137bc5
Add the OutPoint
type for the ChannelMonitor
's funding_txo field.
...
This structure replaces the (Sha256dHash, u16) tuple that was being used
for the funding output.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-06-29 12:12:17 -04:00
Antoine Riard
ef166420b0
Add pruning of preimages no longer needed + tests
2018-06-28 23:19:24 +00:00
Matt Corallo
76d127f7e4
Merge pull request #34 from TheBlueMatt/master
...
Fix Pong response attempt-to-encode-oversize-msg panic
2018-06-27 17:26:56 -04:00
Matt Corallo
deedc69a64
Fix Pong response attempt-to-encode-oversize-msg panic
2018-06-27 17:00:05 -04:00
Matt Corallo
d8474c9d3c
Merge pull request #30 from TheBlueMatt/master
...
Working initial routing sync from lnd node
2018-06-17 00:09:21 -04:00
Matt Corallo
4de3cfe665
Fix message targets to not have an internal loop
2018-06-16 23:26:56 -04:00
Matt Corallo
a73dea7722
Add ping/pong fuzz targets
2018-06-16 23:26:56 -04:00
Matt Corallo
e3effa4622
Send initial_routing_sync-filled Init messages to the first 5 peers
2018-06-16 19:46:49 -04:00
Matt Corallo
05e2a7dc48
Support responding to Ping messages in peer_handler
2018-06-16 19:46:49 -04:00
Matt Corallo
33771194d8
Work around lnd sending invalid messages
2018-06-16 19:45:32 -04:00
Matt Corallo
d7b33fcd84
Support ignoring some errors, deserialize empty flags types
2018-06-16 19:45:32 -04:00
Matt Corallo
3cf262c137
Merge pull request #29 from TheBlueMatt/2018-06-api-quirks
...
Some API Quirks
2018-06-14 18:31:36 -04:00
Matt Corallo
0595dbee37
Make PeerHandleError Error impl public
2018-06-14 18:05:13 -04:00
Matt Corallo
738638fad4
Remove bitcoincorerpcchain, as it belongs in a separate crate
2018-06-14 18:05:13 -04:00
Matt Corallo
5481a5d653
Provide Send + Sync on message handlers (just changes trait)
2018-06-14 18:05:13 -04:00
Matt Corallo
eddfec5aa5
Merge pull request #28 from TheBlueMatt/master
...
fuzztarget sha -> XOR, crates secp256k1
2018-06-04 20:42:30 -04:00
Matt Corallo
f462d8ac70
fuzztarget sha -> XOR, crates secp256k1
2018-06-04 20:02:07 -04:00
Matt Corallo
1d1ebbb290
Merge pull request #26 from TheBlueMatt/master
...
Small style tweaks for new message targets for my own style preferences
2018-05-13 13:54:29 -04:00
Matt Corallo
03d07bf73d
Update msg_target_template to note auto-generation
2018-05-13 13:28:47 -04:00
Matt Corallo
98af41ba29
Fix indentation in fuzz_target utils
2018-05-13 13:23:22 -04:00
Matt Corallo
ce382c0979
Make travis check that msg_targets match the template
2018-05-13 13:23:22 -04:00
Matt Corallo
eccd527a55
Merge pull request #24 from yuntai/master
...
fill decode/encode routines for many messages with fuzz targets
2018-05-13 13:13:01 -04:00
Yuntai Kyong
913ea887fe
add fuzz target for messages
...
[[bin]] section for each new target in Cargo.toml
glob chanbes in travis-fuzz.sh
2018-05-13 05:22:55 +09:00
Yuntai Kyong
e2ff3393ea
add script to generate msg test target
2018-05-13 05:10:23 +09:00
Yuntai Kyong
7822af8bd1
Update dependency on secp256k1 pointing to https://github.com/rust-bitcoin/rust-secp256k1
2018-05-12 14:30:26 +09:00
Yuntai Kyong
fb1bf30263
filling unimplemented!() for many messages' encoding/decoding routines
2018-05-12 14:30:26 +09:00
Yuntai Kyong
dda8414161
add .gitignore
2018-05-12 14:30:26 +09:00
Matt Corallo
4a9d3a5c0a
Merge pull request #25 from TheBlueMatt/master
...
Fix channel_target crash fp
2018-05-10 10:56:22 -04:00
Matt Corallo
cff3ae5f26
Make channel_target return as channelmanager removes on shutdown
2018-05-10 10:39:20 -04:00
Matt Corallo
22342134ef
Some with_capacity's
2018-04-26 19:45:36 -04:00
Matt Corallo
0707220ec7
Merge pull request #23 from TheBlueMatt/master
...
Fix repo link in Cargo
2018-04-26 19:45:23 -04:00
Matt Corallo
a31d67474c
Fix repo link in Cargo
2018-04-26 17:35:09 -04:00
Matt Corallo
e13a46c867
Merge pull request #22 from TheBlueMatt/master
...
Bump version for API changes.
2018-04-26 12:19:40 -04:00
Matt Corallo
c564f9fd59
Bump version for API changes.
2018-04-26 11:40:48 -04:00
Matt Corallo
3057df2656
Merge pull request #21 from TheBlueMatt/master
...
Begin handling errors/tx broadcasts robustly
2018-04-26 11:37:46 -04:00
Matt Corallo
a20eef17c9
Fix local route update broadcasts, annouce channel closures
2018-04-24 20:42:24 -04:00
Matt Corallo
2d8afeccdb
Rewrite channelmonitor framework and implement a bunch of it
2018-04-24 20:42:24 -04:00
Matt Corallo
7400b3bb7c
Fix some channel remove channelmanager consistency bugs
2018-04-24 16:01:14 -04:00
Matt Corallo
8e2974fc2a
HTLC Failure message handling
2018-04-24 11:55:08 -04:00
Matt Corallo
53d1518566
Move ChannelKeys creation into channelmanager
2018-04-17 12:43:12 -04:00
Matt Corallo
4fbe0c90b8
Merge pull request #20 from TheBlueMatt/master
...
Rewrite parts of channel, cleanup a bunch of stuff
2018-04-16 22:03:35 -04:00
Matt Corallo
1ec9c3aa4b
Provide fallback for crypto's fixed_time_eq on non-x86/arm targets
2018-04-16 20:35:21 -04:00
Matt Corallo
4d75d4c099
Minor cleanups
2018-04-16 20:35:21 -04:00
Matt Corallo
f5ca346011
Fix commitment transaction number/per_commitment_point tracking
2018-04-16 20:35:21 -04:00
Matt Corallo
0940db25ec
Refactor channelmanager network tests significantly
2018-04-16 20:35:21 -04:00
Matt Corallo
e9f9cda986
impl more message encodings
2018-04-16 20:35:21 -04:00