Skip to content

Commit 4dbf455

Browse files
committed
testdata: add sessions for newly added features
1 parent f5a066f commit 4dbf455

14 files changed

+1278
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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+
},
21+
"events": [
22+
{
23+
"time_ms": 9,
24+
"kind": "grpc",
25+
"data": {
26+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
27+
"event": "request",
28+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
29+
"payload": {
30+
"state_filter": "OPENING_CHANNEL",
31+
"outpoints": []
32+
}
33+
}
34+
},
35+
{
36+
"time_ms": 26,
37+
"kind": "grpc",
38+
"data": {
39+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
40+
"event": "response",
41+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
42+
"payload": {
43+
"filtered_deposits": []
44+
}
45+
}
46+
},
47+
{
48+
"time_ms": 27,
49+
"kind": "stdout",
50+
"data": {
51+
"text": "{\n \"filtered_deposits\": []\n}\n"
52+
}
53+
},
54+
{
55+
"time_ms": 27,
56+
"kind": "exit",
57+
"data": {}
58+
}
59+
]
60+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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+
},
21+
"events": [
22+
{
23+
"time_ms": 2,
24+
"kind": "grpc",
25+
"data": {
26+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
27+
"event": "request",
28+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
29+
"payload": {
30+
"state_filter": "CHANNEL_PUBLISHED",
31+
"outpoints": []
32+
}
33+
}
34+
},
35+
{
36+
"time_ms": 20,
37+
"kind": "grpc",
38+
"data": {
39+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
40+
"event": "response",
41+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
42+
"payload": {
43+
"filtered_deposits": []
44+
}
45+
}
46+
},
47+
{
48+
"time_ms": 21,
49+
"kind": "stdout",
50+
"data": {
51+
"text": "{\n \"filtered_deposits\": []\n}\n"
52+
}
53+
},
54+
{
55+
"time_ms": 21,
56+
"kind": "exit",
57+
"data": {}
58+
}
59+
]
60+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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+
},
21+
"events": [
22+
{
23+
"time_ms": 3,
24+
"kind": "grpc",
25+
"data": {
26+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
27+
"event": "request",
28+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
29+
"payload": {
30+
"state_filter": "CHANNEL_PUBLISHED",
31+
"outpoints": []
32+
}
33+
}
34+
},
35+
{
36+
"time_ms": 18,
37+
"kind": "grpc",
38+
"data": {
39+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
40+
"event": "response",
41+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
42+
"payload": {
43+
"filtered_deposits": [
44+
{
45+
"id": "eny+m5DyPUeqkusQqdMj96zm6eqrW3c3nGNCLBXaGcg=",
46+
"state": "CHANNEL_PUBLISHED",
47+
"outpoint": "0e70673c1da3343648c26f779555346f30d235314838b1160826d0d5c29b4fba:1",
48+
"value": "500000",
49+
"confirmation_height": "127",
50+
"blocks_until_expiry": "14395",
51+
"swap_hash": ""
52+
},
53+
{
54+
"id": "/5pDsggvkGouJ1iTQiDEzjI5PrKCOyklF64IHhba3tk=",
55+
"state": "CHANNEL_PUBLISHED",
56+
"outpoint": "d2d6e50f157f0d31b8688a4af4f064edf3454714e92369b2c8c4d82477edbaca:0",
57+
"value": "1000000",
58+
"confirmation_height": "127",
59+
"blocks_until_expiry": "14395",
60+
"swap_hash": ""
61+
}
62+
]
63+
}
64+
}
65+
},
66+
{
67+
"time_ms": 18,
68+
"kind": "stdout",
69+
"data": {
70+
"text": "{\n \"filtered_deposits\": [\n {\n \"blocks_until_expiry\": \"14395\",\n \"confirmation_height\": \"127\",\n \"id\": \"7a7cbe9b90f23d47aa92eb10a9d323f7ace6e9eaab5b77379c63422c15da19c8\",\n \"outpoint\": \"0e70673c1da3343648c26f779555346f30d235314838b1160826d0d5c29b4fba:1\",\n \"state\": \"CHANNEL_PUBLISHED\",\n \"swap_hash\": \"\",\n \"value\": \"500000\"\n },\n {\n \"blocks_until_expiry\": \"14395\",\n \"confirmation_height\": \"127\",\n \"id\": \"ff9a43b2082f906a2e2758934220c4ce32393eb2823b292517ae081e16daded9\",\n \"outpoint\": \"d2d6e50f157f0d31b8688a4af4f064edf3454714e92369b2c8c4d82477edbaca:0\",\n \"state\": \"CHANNEL_PUBLISHED\",\n \"swap_hash\": \"\",\n \"value\": \"1000000\"\n }\n ]\n}\n"
71+
}
72+
},
73+
{
74+
"time_ms": 19,
75+
"kind": "exit",
76+
"data": {}
77+
}
78+
]
79+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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+
},
19+
"events": [
20+
{
21+
"time_ms": 5,
22+
"kind": "grpc",
23+
"data": {
24+
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
25+
"event": "request",
26+
"message_type": "looprpc.StaticAddressSummaryRequest",
27+
"payload": {}
28+
}
29+
},
30+
{
31+
"time_ms": 14,
32+
"kind": "grpc",
33+
"data": {
34+
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
35+
"event": "response",
36+
"message_type": "looprpc.StaticAddressSummaryResponse",
37+
"payload": {
38+
"static_address": "bcrt1p604kzzh28764kkw45yps48weergwljggamhhe7tqfglzjzang6cs43f2m2",
39+
"relative_expiry_blocks": "14400",
40+
"total_num_deposits": 3,
41+
"value_unconfirmed_satoshis": "496150",
42+
"value_deposited_satoshis": "0",
43+
"value_expired_satoshis": "0",
44+
"value_withdrawn_satoshis": "0",
45+
"value_looped_in_satoshis": "550000",
46+
"value_htlc_timeout_sweeps_satoshis": "0",
47+
"value_channels_opened": "1500000"
48+
}
49+
}
50+
},
51+
{
52+
"time_ms": 14,
53+
"kind": "stdout",
54+
"data": {
55+
"text": "{\n \"relative_expiry_blocks\": \"14400\",\n \"static_address\": \"bcrt1p604kzzh28764kkw45yps48weergwljggamhhe7tqfglzjzang6cs43f2m2\",\n \"total_num_deposits\": 3,\n \"value_channels_opened\": \"1500000\",\n \"value_deposited_satoshis\": \"0\",\n \"value_expired_satoshis\": \"0\",\n \"value_htlc_timeout_sweeps_satoshis\": \"0\",\n \"value_looped_in_satoshis\": \"550000\",\n \"value_unconfirmed_satoshis\": \"496150\",\n \"value_withdrawn_satoshis\": \"0\"\n}\n"
56+
}
57+
},
58+
{
59+
"time_ms": 15,
60+
"kind": "exit",
61+
"data": {}
62+
}
63+
]
64+
}

0 commit comments

Comments
 (0)