Skip to content

Commit e6e3820

Browse files
committed
testdata: add sessions for newly added features
1 parent 7683da6 commit e6e3820

14 files changed

Lines changed: 1475 additions & 0 deletions
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"--network=regtest",
6+
"--rpcserver=localhost:11010",
7+
"--loopdir=/redacted/loop",
8+
"--tlscertpath=/redacted/loop/regtest/tls.cert",
9+
"--macaroonpath=/redacted/loop/regtest/loop.macaroon",
10+
"static",
11+
"listdeposits",
12+
"--filter",
13+
"opening_channel",
14+
"--network",
15+
"regtest"
16+
],
17+
"env": {},
18+
"version": "0.33.0-beta commit=v0.32.1-beta-71-gbed29e41d84c34147ca60fb1aa99ecc6f2c8a079 commit_hash=bed29e41d84c34147ca60fb1aa99ecc6f2c8a079",
19+
"duration": 27158800,
20+
"clock_start_unix": 1769407086
21+
},
22+
"events": [
23+
{
24+
"time_ms": 9,
25+
"kind": "grpc",
26+
"data": {
27+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
28+
"event": "request",
29+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
30+
"payload": {
31+
"state_filter": "OPENING_CHANNEL",
32+
"outpoints": []
33+
}
34+
}
35+
},
36+
{
37+
"time_ms": 26,
38+
"kind": "grpc",
39+
"data": {
40+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
41+
"event": "response",
42+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
43+
"payload": {
44+
"filtered_deposits": []
45+
}
46+
}
47+
},
48+
{
49+
"time_ms": 27,
50+
"kind": "stdout",
51+
"data": {
52+
"lines": [
53+
"{\n",
54+
" \"filtered_deposits\": []\n",
55+
"}\n"
56+
]
57+
}
58+
},
59+
{
60+
"time_ms": 27,
61+
"kind": "exit",
62+
"data": {}
63+
}
64+
]
65+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"--network=regtest",
6+
"--rpcserver=localhost:11010",
7+
"--loopdir=/redacted/loop",
8+
"--tlscertpath=/redacted/loop/regtest/tls.cert",
9+
"--macaroonpath=/redacted/loop/regtest/loop.macaroon",
10+
"static",
11+
"listdeposits",
12+
"--filter",
13+
"channel_published",
14+
"--network",
15+
"regtest"
16+
],
17+
"env": {},
18+
"version": "0.33.0-beta commit=v0.32.1-beta-71-gbed29e41d84c34147ca60fb1aa99ecc6f2c8a079 commit_hash=bed29e41d84c34147ca60fb1aa99ecc6f2c8a079",
19+
"duration": 21086043,
20+
"clock_start_unix": 1769407086
21+
},
22+
"events": [
23+
{
24+
"time_ms": 2,
25+
"kind": "grpc",
26+
"data": {
27+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
28+
"event": "request",
29+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
30+
"payload": {
31+
"state_filter": "CHANNEL_PUBLISHED",
32+
"outpoints": []
33+
}
34+
}
35+
},
36+
{
37+
"time_ms": 20,
38+
"kind": "grpc",
39+
"data": {
40+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
41+
"event": "response",
42+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
43+
"payload": {
44+
"filtered_deposits": []
45+
}
46+
}
47+
},
48+
{
49+
"time_ms": 21,
50+
"kind": "stdout",
51+
"data": {
52+
"lines": [
53+
"{\n",
54+
" \"filtered_deposits\": []\n",
55+
"}\n"
56+
]
57+
}
58+
},
59+
{
60+
"time_ms": 21,
61+
"kind": "exit",
62+
"data": {}
63+
}
64+
]
65+
}
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"--network=regtest",
6+
"--rpcserver=localhost:11010",
7+
"--loopdir=/redacted/loop",
8+
"--tlscertpath=/redacted/loop/regtest/tls.cert",
9+
"--macaroonpath=/redacted/loop/regtest/loop.macaroon",
10+
"static",
11+
"listdeposits",
12+
"--filter",
13+
"channel_published",
14+
"--network",
15+
"regtest"
16+
],
17+
"env": {},
18+
"version": "0.33.0-beta commit=v0.32.1-beta-71-gbed29e41d84c34147ca60fb1aa99ecc6f2c8a079 commit_hash=bed29e41d84c34147ca60fb1aa99ecc6f2c8a079",
19+
"duration": 19305482,
20+
"clock_start_unix": 1769407086
21+
},
22+
"events": [
23+
{
24+
"time_ms": 3,
25+
"kind": "grpc",
26+
"data": {
27+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
28+
"event": "request",
29+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
30+
"payload": {
31+
"state_filter": "CHANNEL_PUBLISHED",
32+
"outpoints": []
33+
}
34+
}
35+
},
36+
{
37+
"time_ms": 18,
38+
"kind": "grpc",
39+
"data": {
40+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
41+
"event": "response",
42+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
43+
"payload": {
44+
"filtered_deposits": [
45+
{
46+
"id": "eny+m5DyPUeqkusQqdMj96zm6eqrW3c3nGNCLBXaGcg=",
47+
"state": "CHANNEL_PUBLISHED",
48+
"outpoint": "0e70673c1da3343648c26f779555346f30d235314838b1160826d0d5c29b4fba:1",
49+
"value": "500000",
50+
"confirmation_height": "127",
51+
"blocks_until_expiry": "14395",
52+
"swap_hash": ""
53+
},
54+
{
55+
"id": "/5pDsggvkGouJ1iTQiDEzjI5PrKCOyklF64IHhba3tk=",
56+
"state": "CHANNEL_PUBLISHED",
57+
"outpoint": "d2d6e50f157f0d31b8688a4af4f064edf3454714e92369b2c8c4d82477edbaca:0",
58+
"value": "1000000",
59+
"confirmation_height": "127",
60+
"blocks_until_expiry": "14395",
61+
"swap_hash": ""
62+
}
63+
]
64+
}
65+
}
66+
},
67+
{
68+
"time_ms": 18,
69+
"kind": "stdout",
70+
"data": {
71+
"lines": [
72+
"{\n",
73+
" \"filtered_deposits\": [\n",
74+
" {\n",
75+
" \"blocks_until_expiry\": \"14395\",\n",
76+
" \"confirmation_height\": \"127\",\n",
77+
" \"id\": \"7a7cbe9b90f23d47aa92eb10a9d323f7ace6e9eaab5b77379c63422c15da19c8\",\n",
78+
" \"outpoint\": \"0e70673c1da3343648c26f779555346f30d235314838b1160826d0d5c29b4fba:1\",\n",
79+
" \"state\": \"CHANNEL_PUBLISHED\",\n",
80+
" \"swap_hash\": \"\",\n",
81+
" \"value\": \"500000\"\n",
82+
" },\n",
83+
" {\n",
84+
" \"blocks_until_expiry\": \"14395\",\n",
85+
" \"confirmation_height\": \"127\",\n",
86+
" \"id\": \"ff9a43b2082f906a2e2758934220c4ce32393eb2823b292517ae081e16daded9\",\n",
87+
" \"outpoint\": \"d2d6e50f157f0d31b8688a4af4f064edf3454714e92369b2c8c4d82477edbaca:0\",\n",
88+
" \"state\": \"CHANNEL_PUBLISHED\",\n",
89+
" \"swap_hash\": \"\",\n",
90+
" \"value\": \"1000000\"\n",
91+
" }\n",
92+
" ]\n",
93+
"}\n"
94+
]
95+
}
96+
},
97+
{
98+
"time_ms": 19,
99+
"kind": "exit",
100+
"data": {}
101+
}
102+
]
103+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"--network=regtest",
6+
"--rpcserver=localhost:11010",
7+
"--loopdir=/redacted/loop",
8+
"--tlscertpath=/redacted/loop/regtest/tls.cert",
9+
"--macaroonpath=/redacted/loop/regtest/loop.macaroon",
10+
"static",
11+
"summary",
12+
"--network",
13+
"regtest"
14+
],
15+
"env": {},
16+
"version": "0.33.0-beta commit=v0.32.1-beta-71-gbed29e41d84c34147ca60fb1aa99ecc6f2c8a079 commit_hash=bed29e41d84c34147ca60fb1aa99ecc6f2c8a079",
17+
"duration": 15210220,
18+
"clock_start_unix": 1769407086
19+
},
20+
"events": [
21+
{
22+
"time_ms": 5,
23+
"kind": "grpc",
24+
"data": {
25+
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
26+
"event": "request",
27+
"message_type": "looprpc.StaticAddressSummaryRequest",
28+
"payload": {}
29+
}
30+
},
31+
{
32+
"time_ms": 14,
33+
"kind": "grpc",
34+
"data": {
35+
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
36+
"event": "response",
37+
"message_type": "looprpc.StaticAddressSummaryResponse",
38+
"payload": {
39+
"static_address": "bcrt1p604kzzh28764kkw45yps48weergwljggamhhe7tqfglzjzang6cs43f2m2",
40+
"relative_expiry_blocks": "14400",
41+
"total_num_deposits": 3,
42+
"value_unconfirmed_satoshis": "496150",
43+
"value_deposited_satoshis": "0",
44+
"value_expired_satoshis": "0",
45+
"value_withdrawn_satoshis": "0",
46+
"value_looped_in_satoshis": "550000",
47+
"value_htlc_timeout_sweeps_satoshis": "0",
48+
"value_channels_opened": "1500000"
49+
}
50+
}
51+
},
52+
{
53+
"time_ms": 14,
54+
"kind": "stdout",
55+
"data": {
56+
"lines": [
57+
"{\n",
58+
" \"relative_expiry_blocks\": \"14400\",\n",
59+
" \"static_address\": \"bcrt1p604kzzh28764kkw45yps48weergwljggamhhe7tqfglzjzang6cs43f2m2\",\n",
60+
" \"total_num_deposits\": 3,\n",
61+
" \"value_channels_opened\": \"1500000\",\n",
62+
" \"value_deposited_satoshis\": \"0\",\n",
63+
" \"value_expired_satoshis\": \"0\",\n",
64+
" \"value_htlc_timeout_sweeps_satoshis\": \"0\",\n",
65+
" \"value_looped_in_satoshis\": \"550000\",\n",
66+
" \"value_unconfirmed_satoshis\": \"496150\",\n",
67+
" \"value_withdrawn_satoshis\": \"0\"\n",
68+
"}\n"
69+
]
70+
}
71+
},
72+
{
73+
"time_ms": 15,
74+
"kind": "exit",
75+
"data": {}
76+
}
77+
]
78+
}

0 commit comments

Comments
 (0)