Skip to content

Commit 7683da6

Browse files
committed
testdata: add static address and swaps sessions
1 parent 662f954 commit 7683da6

45 files changed

Lines changed: 3614 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"static",
6+
"listdeposits",
7+
"--network",
8+
"regtest",
9+
"--filter",
10+
"deposited"
11+
],
12+
"env": {
13+
"HOME": "/home/user"
14+
},
15+
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
16+
"duration": 304503708,
17+
"clock_start_unix": 1769407086
18+
},
19+
"events": [
20+
{
21+
"time_ms": 3,
22+
"kind": "grpc",
23+
"data": {
24+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
25+
"event": "request",
26+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
27+
"payload": {
28+
"state_filter": "DEPOSITED",
29+
"outpoints": []
30+
}
31+
}
32+
},
33+
{
34+
"time_ms": 303,
35+
"kind": "grpc",
36+
"data": {
37+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
38+
"event": "response",
39+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
40+
"payload": {
41+
"filtered_deposits": []
42+
}
43+
}
44+
},
45+
{
46+
"time_ms": 304,
47+
"kind": "stdout",
48+
"data": {
49+
"lines": [
50+
"{\n",
51+
" \"filtered_deposits\": []\n",
52+
"}\n"
53+
]
54+
}
55+
},
56+
{
57+
"time_ms": 304,
58+
"kind": "exit",
59+
"data": {}
60+
}
61+
]
62+
}
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"static",
6+
"listdeposits",
7+
"--network",
8+
"regtest",
9+
"--filter",
10+
"withdrawing"
11+
],
12+
"env": {
13+
"HOME": "/home/user"
14+
},
15+
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
16+
"duration": 210052149,
17+
"clock_start_unix": 1769407086
18+
},
19+
"events": [
20+
{
21+
"time_ms": 1,
22+
"kind": "grpc",
23+
"data": {
24+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
25+
"event": "request",
26+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
27+
"payload": {
28+
"state_filter": "WITHDRAWING",
29+
"outpoints": []
30+
}
31+
}
32+
},
33+
{
34+
"time_ms": 209,
35+
"kind": "grpc",
36+
"data": {
37+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
38+
"event": "response",
39+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
40+
"payload": {
41+
"filtered_deposits": [
42+
{
43+
"id": "u38FDfC3w+H+YQEOEK1F4w3fes0wH6bgWi3bgltcLvs=",
44+
"state": "WITHDRAWING",
45+
"outpoint": "56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0",
46+
"value": "500000",
47+
"confirmation_height": "160",
48+
"blocks_until_expiry": "14395",
49+
"swap_hash": ""
50+
}
51+
]
52+
}
53+
}
54+
},
55+
{
56+
"time_ms": 209,
57+
"kind": "stdout",
58+
"data": {
59+
"lines": [
60+
"{\n",
61+
" \"filtered_deposits\": [\n",
62+
" {\n",
63+
" \"blocks_until_expiry\": \"14395\",\n",
64+
" \"confirmation_height\": \"160\",\n",
65+
" \"id\": \"bb7f050df0b7c3e1fe61010e10ad45e30ddf7acd301fa6e05a2ddb825b5c2efb\",\n",
66+
" \"outpoint\": \"56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0\",\n",
67+
" \"state\": \"WITHDRAWING\",\n",
68+
" \"swap_hash\": \"\",\n",
69+
" \"value\": \"500000\"\n",
70+
" }\n",
71+
" ]\n",
72+
"}\n"
73+
]
74+
}
75+
},
76+
{
77+
"time_ms": 210,
78+
"kind": "exit",
79+
"data": {}
80+
}
81+
]
82+
}
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"static",
6+
"listdeposits",
7+
"--network",
8+
"regtest",
9+
"--filter",
10+
"withdrawn"
11+
],
12+
"env": {
13+
"HOME": "/home/user"
14+
},
15+
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
16+
"duration": 271219039,
17+
"clock_start_unix": 1769407086
18+
},
19+
"events": [
20+
{
21+
"time_ms": 1,
22+
"kind": "grpc",
23+
"data": {
24+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
25+
"event": "request",
26+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
27+
"payload": {
28+
"state_filter": "WITHDRAWN",
29+
"outpoints": []
30+
}
31+
}
32+
},
33+
{
34+
"time_ms": 269,
35+
"kind": "grpc",
36+
"data": {
37+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
38+
"event": "response",
39+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
40+
"payload": {
41+
"filtered_deposits": [
42+
{
43+
"id": "aCYqEEyewyXea+w3uOMb2HW70vXwuc4togzwvWNvxEg=",
44+
"state": "WITHDRAWN",
45+
"outpoint": "edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0",
46+
"value": "500000",
47+
"confirmation_height": "125",
48+
"blocks_until_expiry": "14360",
49+
"swap_hash": ""
50+
},
51+
{
52+
"id": "hrXizflpTI5zmOQq/eEJdm180hQiA5Bbpj+9DrE3DvM=",
53+
"state": "WITHDRAWN",
54+
"outpoint": "bb358e4f73ae97c4e2d99c6d64e852bba7cf56e13105b05d1200b8ae1796665e:0",
55+
"value": "500000",
56+
"confirmation_height": "127",
57+
"blocks_until_expiry": "14362",
58+
"swap_hash": ""
59+
},
60+
{
61+
"id": "bCkPdTbqUJeUav/6xqaZBqJtd1gj67rO3+by1pwHReQ=",
62+
"state": "WITHDRAWN",
63+
"outpoint": "5eaa7dd7a291665393eddf5dece91feef901f22665933cce7a0732a9b81c3001:0",
64+
"value": "500000",
65+
"confirmation_height": "128",
66+
"blocks_until_expiry": "14363",
67+
"swap_hash": ""
68+
},
69+
{
70+
"id": "AYK02JWxxGcpCue1xsQv92sqQiWAepQhHJcxcNWog+s=",
71+
"state": "WITHDRAWN",
72+
"outpoint": "7e6360d6e6a394cfd096adf0bfe1275c5a83541eb573e90e463a78dc715f8894:0",
73+
"value": "500000",
74+
"confirmation_height": "142",
75+
"blocks_until_expiry": "14377",
76+
"swap_hash": ""
77+
}
78+
]
79+
}
80+
}
81+
},
82+
{
83+
"time_ms": 269,
84+
"kind": "stdout",
85+
"data": {
86+
"lines": [
87+
"{\n",
88+
" \"filtered_deposits\": [\n",
89+
" {\n",
90+
" \"blocks_until_expiry\": \"14360\",\n",
91+
" \"confirmation_height\": \"125\",\n",
92+
" \"id\": \"68262a104c9ec325de6bec37b8e31bd875bbd2f5f0b9ce2da20cf0bd636fc448\",\n",
93+
" \"outpoint\": \"edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0\",\n",
94+
" \"state\": \"WITHDRAWN\",\n",
95+
" \"swap_hash\": \"\",\n",
96+
" \"value\": \"500000\"\n",
97+
" },\n",
98+
" {\n",
99+
" \"blocks_until_expiry\": \"14362\",\n",
100+
" \"confirmation_height\": \"127\",\n",
101+
" \"id\": \"86b5e2cdf9694c8e7398e42afde109766d7cd2142203905ba63fbd0eb1370ef3\",\n",
102+
" \"outpoint\": \"bb358e4f73ae97c4e2d99c6d64e852bba7cf56e13105b05d1200b8ae1796665e:0\",\n",
103+
" \"state\": \"WITHDRAWN\",\n",
104+
" \"swap_hash\": \"\",\n",
105+
" \"value\": \"500000\"\n",
106+
" },\n",
107+
" {\n",
108+
" \"blocks_until_expiry\": \"14363\",\n",
109+
" \"confirmation_height\": \"128\",\n",
110+
" \"id\": \"6c290f7536ea5097946afffac6a69906a26d775823ebbacedfe6f2d69c0745e4\",\n",
111+
" \"outpoint\": \"5eaa7dd7a291665393eddf5dece91feef901f22665933cce7a0732a9b81c3001:0\",\n",
112+
" \"state\": \"WITHDRAWN\",\n",
113+
" \"swap_hash\": \"\",\n",
114+
" \"value\": \"500000\"\n",
115+
" },\n",
116+
" {\n",
117+
" \"blocks_until_expiry\": \"14377\",\n",
118+
" \"confirmation_height\": \"142\",\n",
119+
" \"id\": \"0182b4d895b1c467290ae7b5c6c42ff76b2a4225807a94211c973170d5a883eb\",\n",
120+
" \"outpoint\": \"7e6360d6e6a394cfd096adf0bfe1275c5a83541eb573e90e463a78dc715f8894:0\",\n",
121+
" \"state\": \"WITHDRAWN\",\n",
122+
" \"swap_hash\": \"\",\n",
123+
" \"value\": \"500000\"\n",
124+
" }\n",
125+
" ]\n",
126+
"}\n"
127+
]
128+
}
129+
},
130+
{
131+
"time_ms": 271,
132+
"kind": "exit",
133+
"data": {}
134+
}
135+
]
136+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"static",
6+
"listdeposits",
7+
"--network",
8+
"regtest",
9+
"--filter",
10+
"looping_in"
11+
],
12+
"env": {
13+
"HOME": "/home/user"
14+
},
15+
"version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
16+
"duration": 268850770,
17+
"clock_start_unix": 1769407086
18+
},
19+
"events": [
20+
{
21+
"time_ms": 3,
22+
"kind": "grpc",
23+
"data": {
24+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
25+
"event": "request",
26+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
27+
"payload": {
28+
"state_filter": "LOOPING_IN",
29+
"outpoints": []
30+
}
31+
}
32+
},
33+
{
34+
"time_ms": 268,
35+
"kind": "grpc",
36+
"data": {
37+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
38+
"event": "response",
39+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
40+
"payload": {
41+
"filtered_deposits": []
42+
}
43+
}
44+
},
45+
{
46+
"time_ms": 268,
47+
"kind": "stdout",
48+
"data": {
49+
"lines": [
50+
"{\n",
51+
" \"filtered_deposits\": []\n",
52+
"}\n"
53+
]
54+
}
55+
},
56+
{
57+
"time_ms": 268,
58+
"kind": "exit",
59+
"data": {}
60+
}
61+
]
62+
}

0 commit comments

Comments
 (0)