-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create-gossipstore.c can read scid -> satoshis csv file. The csv is i… #5
create-gossipstore.c can read scid -> satoshis csv file. The csv is i… #5
Commits on Apr 5, 2019
-
pytest: backtrace on internal errors in subdaemons.
A backtrace which makes it much easier to figure out what's happening. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7509cd9 - Browse repository at this point
Copy the full SHA 7509cd9View commit details -
devtools/create-gossipstore: tool to create a gossip_store file from …
…stream of gossip. The gossip is expected to be in format: 16-bit-big-endian-length [gossip message] Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de21089 - Browse repository at this point
Copy the full SHA de21089View commit details -
gossipd: use htable instead of simple array for node's channels.
For giant nodes, it seems we spend a lot of time memmoving this array. Normally we'd go for a linked list, but that's actually hard: each channel has two nodes, so needs two embedded list pointers, and when iterating there's no good way to figure out which embedded pointer we'd be using. So we (ab)use htable; we don't really need an index, but it's good for cache-friendly iteration (our main operation). We can actually change to a hybrid later to avoid the extra allocation for small nodes. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d06daf9 - Browse repository at this point
Copy the full SHA d06daf9View commit details -
dev: --dev-gossip-time so gossipd doesn't prune old data.
This is useful for canned data, such as the million channels project. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3cd344 - Browse repository at this point
Copy the full SHA c3cd344View commit details -
gossipd: temporarily allow giant messages
We push a huge msg for listchannels with the million-channels project. We need to fix that, but this works around it so we can benchmark. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4835e25 - Browse repository at this point
Copy the full SHA 4835e25View commit details -
gossipd: dev option to allow unknown channels.
This lets us benchmark without a valid blockchain. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2b3126 - Browse repository at this point
Copy the full SHA b2b3126View commit details -
fixup! gossipd: dev option to allow unknown channels.
Suggested-by: @cdecker Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9533126 - Browse repository at this point
Copy the full SHA 9533126View commit details -
dev-compact-store-gossip: specific RPC so we can test gossip_store re…
…write. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8d9425 - Browse repository at this point
Copy the full SHA f8d9425View commit details -
pytest: test that gossipd remembers unannounced local channels across…
… restarts Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad1e530 - Browse repository at this point
Copy the full SHA ad1e530View commit details -
lightningd: log IO only on actual output.
This causes natural batching, rather than on every little addition of JSON formatting. Before, to listchannels 100,000 channels took 82.48 seconds, after 6.82 seconds. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb1018a - Browse repository at this point
Copy the full SHA cb1018aView commit details -
log: truncate giant IO logging.
Adding a giant IO message simply causes it to be pruned immediately, so truncate it if it's more than 1/64 the max size. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 835834d - Browse repository at this point
Copy the full SHA 835834dView commit details -
gossipd: store local channel updates across restart, even if unannoun…
…ced. Either private or simply not enough confirms. They would have been added on reconnect, but that's not ideal. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c4f8c4 - Browse repository at this point
Copy the full SHA 5c4f8c4View commit details -
gossipd: preserve unannounced channels across store compaction.
Otherwise we'd forget them on restart, again. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for abc6487 - Browse repository at this point
Copy the full SHA abc6487View commit details -
devtools/gossipwith: add option to stream from stdin.
Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f00cae - Browse repository at this point
Copy the full SHA 4f00caeView commit details -
tools/bench-gossipd.sh: rough benchmark for gossipd and the million c…
…hannels project Outputs CSV. We add some stats for load times in developer mode, so we can easily read them out. peer_read_all_sec doesn't work, since we seem to reject about half the updates for having bad signatures. It's also very slow... routing fails, for unknown reasons, so that failure is ignored in routing_sec. Results from 5 runs, min-max(mean +/- stddev): store_load_msec,vsz_kb,store_rewrite_sec,listnodes_sec,listchannels_sec,routing_sec,peer_write_all_sec 39275-44779(40466.8+/-2.2e+03),2899248,41.010000-44.970000(41.972+/-1.5),2.280000-2.350000(2.304+/-0.025),49.770000-63.390000(59.178+/-5),33.310000-34.260000(33.62+/-0.35),42.100000-44.080000(43.082+/-0.67) Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b563009 - Browse repository at this point
Copy the full SHA b563009View commit details -
fixup! tools/bench-gossipd.sh: rough benchmark for gossipd and the mi…
…llion channels project Suggested-by: @niftynei
Configuration menu - View commit details
-
Copy full SHA for 0eeb94a - Browse repository at this point
Copy the full SHA 0eeb94aView commit details -
fixup! tools/bench-gossipd.sh: rough benchmark for gossipd and the mi…
…llion channels project MCP filename change.
Configuration menu - View commit details
-
Copy full SHA for 2009e62 - Browse repository at this point
Copy the full SHA 2009e62View commit details -
tools/bench-gossipd.sh: don't print CSV by default.
Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ebe5ce - Browse repository at this point
Copy the full SHA 4ebe5ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec31727 - Browse repository at this point
Copy the full SHA ec31727View commit details -
create-gossipstore.c can read scid -> satoshis csv file. The csv is …
…in the format scid ,satoshis where there is a black space after scid. Made a header file that contains a struct. Modified makefile. Added cmdline arg --scidfile /path/to/csv and made the constant capacity command optional. create-gossipstore prints stats at the end.
Configuration menu - View commit details
-
Copy full SHA for 0f683c7 - Browse repository at this point
Copy the full SHA 0f683c7View commit details -
devtools/create-gossipstore: don't pollute output with message.
Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 603dbc6 - Browse repository at this point
Copy the full SHA 603dbc6View commit details -
devtools/create-gossipstore: add --max option to create reduced tests…
…ets. eg. for running under valgrind. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d332153 - Browse repository at this point
Copy the full SHA d332153View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2736f0 - Browse repository at this point
Copy the full SHA c2736f0View commit details -
added sanity check to make sure scid of csv is the same as scid in go…
…ssip. Revised style, mem allocation, and error checks
Configuration menu - View commit details
-
Copy full SHA for 30fc20b - Browse repository at this point
Copy the full SHA 30fc20bView commit details