Skip to content

Instantly share code, notes, and snippets.

View vincenzopalazzo's full-sized avatar
:octocat:
The commit can contain poetry

Vincenzo Palazzo vincenzopalazzo

:octocat:
The commit can contain poetry
View GitHub Profile
2023-07-24T18:24:37.170Z DEBUG ldk lightning::chain::channelmonitor:2244 TRACE Tracking new counterparty commitment transaction with txid d735843b8d3c309093aafb30233904a120007998a3dcfe7023b5b1ccd893e45a at commitment number 281474976710655 with 0 HTLC outputs
2023-07-24T18:24:37.170Z INFO ldk lightning::ln::channel:2564 INFO Received funding_signed from peer for channel 483b1a50b1f2d57d6c433732792b29130ba1511a859cb292c2354fe865c20cd5
2023-07-24T18:24:37.170Z DEBUG ldk lightning::chain::chainmonitor:659 TRACE Got new ChannelMonitor for channel 483b1a50b1f2d57d6c433732792b29130ba1511a859cb292c2354fe865c20cd5
2023-07-24T18:24:37.170Z INFO ldk lightning::chain::chainmonitor:673 INFO Persistence of new ChannelMonitor for channel 483b1a50b1f2d57d6c433732792b29130ba1511a859cb292c2354fe865c20cd5 completed
2023-07-24T18:24:37.170Z DEBUG ldk lightning::ln::channel:3715 DEBUG Restored monitor updating in channel 483b1a50b1f2d57d6c433732792b29130ba1511a859cb292c2354fe865c20cd5 resulting in a funding broadcastable, no com
@vincenzopalazzo
vincenzopalazzo / test_funding_reorg_remote_lags-regression.txt
Created July 15, 2023 15:43
cln #6384 regression during test_funding_reorg_remote_lags
lightningd-2 2023-07-15T10:00:28.193Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: peer_out WIRE_CHANNEL_READY
lightningd-2 2023-07-15T10:00:28.194Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: next_revocation_number = 0
lightningd-2 2023-07-15T10:00:28.194Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: option_static_remotekey: fields are correct
lightningd-2 2023-07-15T10:00:28.194Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: No upgrade: no next_to_send received
lightningd-2 2023-07-15T10:00:28.194Z DEBUG 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-channeld-chan#1: billboard perm: Reconnected, and reestablished.
lightningd-2 2023-07-15T10:00:28.195Z DEBUG gossipd: received private channel announcement from channeld for 103x1x0
lightningd-2 2023-07-15T10:00:28.195Z DEBUG 0266e4598d1d3c415f572a848
13T13:56:22.672+02:00 DEBUG service Received inventory announcement of z6Mkmq8HYhtHxkw1zcRZjyFUCLchzoAE9JAgaFLa58tctspt with 2 item(s) from z6MksmpU5b1dS7oaqF2bHXhQi1DWy2hB7Mh9CuN7y1DN6QSz
2023-07-13T13:56:24.140+02:00 DEBUG service Received inventory announcement of z6MkixDzQ7GZsuNwFueAeTHoCNBXr2zQ1zA11jaVTqx9rMeX with 32 item(s) from z6MksmpU5b1dS7oaqF2bHXhQi1DWy2hB7Mh9CuN7y1DN6QSz
2023-07-13T13:56:26.137+02:00 DEBUG service Received inventory announcement of z6Mkmq8HYhtHxkw1zcRZjyFUCLchzoAE9JAgaFLa58tctspt with 2 item(s) from z6MksmpU5b1dS7oaqF2bHXhQi1DWy2hB7Mh9CuN7y1DN6QSz
2023-07-13T13:56:27.116+02:00 DEBUG service Received inventory announcement of z6MkixDzQ7GZsuNwFueAeTHoCNBXr2zQ1zA11jaVTqx9rMeX with 32 item(s) from z6MksmpU5b1dS7oaqF2bHXhQi1DWy2hB7Mh9CuN7y1DN6QSz
2023-07-13T13:56:30.105+02:00 DEBUG service Received inventory announcement of z6MkixDzQ7GZsuNwFueAeTHoCNBXr2zQ1zA11jaVTqx9rMeX with 32 item(s) from z6MksmpU5b1dS7oaqF2bHXhQi1DWy2hB7Mh9CuN7y1DN6QSz
2023-07-13T13:56:30.328+02:00 DEBUG ser
2023-07-13T11:41:40.701Z INFO node Node ID is z6MkhJ6eWqirsQ6quWsv31PKWat985AxhnX3HoLMQoptEYr5
2023-07-13T11:41:40.701Z DEBUG node Removing existing control socket..
2023-07-13T11:41:40.701Z INFO node Opening address book /home/vincent/.radicle/node/addresses.db..
2023-07-13T11:41:40.703Z INFO node Opening routing table /home/vincent/.radicle/node/routing.db..
2023-07-13T11:41:40.704Z INFO node Opening tracking policy table /home/vincent/.radicle/node/tracking.db..
2023-07-13T11:41:40.704Z INFO node Default tracking policy set to 'block'
2023-07-13T11:41:40.704Z INFO node Initializing service (Main)..
2023-07-13T11:41:40.796Z DEBUG service Init @1689248500000
2023-07-13T11:41:40.894Z INFO node Listening on 0.0.0.0:8776..
2023-07-13T11:41:40.897Z INFO node Running node z6MkhJ6eWqirsQ6quWsv31PKWat985AxhnX3HoLMQoptEYr5 in /home/vincent/.radicle..
➜ rt-tests git:(main) ✗ sudo ./cyclictest --mlockall -t25 -p99 -l50000
[sudo] password for macros:
# /dev/cpu_dma_latency set to 0us
policy: fifo: loadavg: 0.02 0.01 0.00 1/153 13656
T: 0 (13631) P:99 I:1000 C: 50000 Min: 8 Act: 25 Avg: 13 Max: 121
T: 1 (13632) P:99 I:1500 C: 33334 Min: 8 Act: 10 Avg: 13 Max: 88
T: 2 (13633) P:99 I:2000 C: 24996 Min: 8 Act: 10 Avg: 13 Max: 89
T: 3 (13634) P:99 I:2500 C: 19994 Min: 8 Act: 10 Avg: 13 Max: 513
T: 4 (13635) P:99 I:3000 C: 16659 Min: 8 Act: 10 Avg: 13 Max: 106
@vincenzopalazzo
vincenzopalazzo / test_open_channel_from_accepter_side.txt
Created June 14, 2023 11:47
lnprototest test_open_channel_from_accepter_side
tests/test_bolt2-01-open_channel.py::test_open_channel_from_accepter_side
------------------------------------------------------------------------------------------------------------------------------------------------------------------- live log call --------------------------------------------------------------------------------------------------------------------------------------------------------------------
INFO root:lampo.py:68 home path b'/tmp/lnpt-lampo-tzspanjc'
2023-06-14T11:44:53.585Z DEBUG bitcoincore_rpc JSON-RPC request: getchaintips []
2023-06-14T11:44:53.588Z DEBUG lampod::utils::logger -1 TRACE [lightning_background_processor:779] Calling ChannelManager's timer_tick_occurred on startup
2023-06-14T11:44:53.588Z DEBUG bitcoincore_rpc JSON-RPC request: estimatesmartfee [6]
2023-06-14T11:44:53.588Z DEBUG lampod::utils::logger -1 TRACE [lightning_background_processor:779] Rebroadcasting monitor's pending claims on startup
2023-06-14T11:44:53.588Z INFO lampod Preparing inbound connections
✗ other error failure command cargo build
cargo clippy --all --tests
cargo fmt --all --check
cargo test --all
running 89 tests
test cob::identity::test::test_ordering ... ok
test cob::common::test::test_color ... ok
test canonical::formatter::test::ascii_control_characters ... ok
test canonical::formatter::test::securesystemslib_asserts ... ok
running 89 tests
test cob::identity::test::test_ordering ... ok
test cob::common::test::test_color ... ok
test canonical::formatter::test::ascii_control_characters ... ok
test canonical::formatter::test::ordered_nested_object ... ok
test canonical::formatter::test::securesystemslib_asserts ... ok
test cob::issue::test::test_issue_state_serde ... ok
test cob::issue::test::test_ordering ... ok
test cob::patch::test::test_json_serialization ... ok
test cob::issue::test::test_issue_multilines ... ok
The following warnings were emitted during compilation:
warning: rocksdb/db/db_impl/db_impl.cc: In member function ‘virtual rocksdb::Status rocksdb::DBImpl::FlushWAL(bool)’:
warning: rocksdb/db/db_impl/db_impl.cc:1237:23: warning: redundant move in return statement [-Wredundant-move]
warning: 1237 | return std::move(io_s);
warning: | ~~~~~~~~~^~~~~~
warning: rocksdb/db/db_impl/db_impl.cc:1237:23: note: remove ‘std::move’ call
warning: rocksdb/db/db_impl/db_impl.cc:1241:23: warning: redundant move in return statement [-Wredundant-move]
warning: 1241 | return std::move(io_s);
warning: | ~~~~~~~~~^~~~~~
@vincenzopalazzo
vincenzopalazzo / gist:52d801dbb7f58cdb79d01f5409766176
Created April 7, 2023 10:07
failure test_init_reject_option_data_loss_protect_if_not_supported
[gw0] [100%] PASSED tests/test_bolt7-01-channel_announcement-success.py::test_gossip_forget_channel_after_12_blocks
=================================== FAILURES ===================================
__________ test_init_reject_option_data_loss_protect_if_not_supported __________
[gw1] linux -- Python 3.10.6 /usr/bin/python3
runner = <lnprototest.clightning.clightning.Runner object at 0x7f93e78fad70>
test = [<lnprototest.event.Connect object at 0x7f93e78fa410>, <lnprototest.event.ExpectMsg object at 0x7f93ec1cf2b0>, <lnprot...bd30>, <lnprototest.event.Connect object at 0x7f93e771b1f0>, <lnprototest.structure.Sequence object at 0x7f93e771a980>]
def run_runner(runner: Runner, test: Union[Sequence, List[Event], Event]) -> None: