Skip to content

Commit 550f48b

Browse files
committed
testdata: add static address and swaps sessions
1 parent 05f5770 commit 550f48b

File tree

45 files changed

+3038
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+3038
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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+
},
18+
"events": [
19+
{
20+
"time_ms": 3,
21+
"kind": "grpc",
22+
"data": {
23+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
24+
"event": "request",
25+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
26+
"payload": {
27+
"state_filter": "DEPOSITED",
28+
"outpoints": []
29+
}
30+
}
31+
},
32+
{
33+
"time_ms": 303,
34+
"kind": "grpc",
35+
"data": {
36+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
37+
"event": "response",
38+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
39+
"payload": {
40+
"filtered_deposits": []
41+
}
42+
}
43+
},
44+
{
45+
"time_ms": 304,
46+
"kind": "stdout",
47+
"data": {
48+
"text": "{\n \"filtered_deposits\": []\n}\n"
49+
}
50+
},
51+
{
52+
"time_ms": 304,
53+
"kind": "exit",
54+
"data": {}
55+
}
56+
]
57+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
},
18+
"events": [
19+
{
20+
"time_ms": 1,
21+
"kind": "grpc",
22+
"data": {
23+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
24+
"event": "request",
25+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
26+
"payload": {
27+
"state_filter": "WITHDRAWING",
28+
"outpoints": []
29+
}
30+
}
31+
},
32+
{
33+
"time_ms": 209,
34+
"kind": "grpc",
35+
"data": {
36+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
37+
"event": "response",
38+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
39+
"payload": {
40+
"filtered_deposits": [
41+
{
42+
"id": "u38FDfC3w+H+YQEOEK1F4w3fes0wH6bgWi3bgltcLvs=",
43+
"state": "WITHDRAWING",
44+
"outpoint": "56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0",
45+
"value": "500000",
46+
"confirmation_height": "160",
47+
"blocks_until_expiry": "14395",
48+
"swap_hash": ""
49+
}
50+
]
51+
}
52+
}
53+
},
54+
{
55+
"time_ms": 209,
56+
"kind": "stdout",
57+
"data": {
58+
"text": "{\n \"filtered_deposits\": [\n {\n \"blocks_until_expiry\": \"14395\",\n \"confirmation_height\": \"160\",\n \"id\": \"bb7f050df0b7c3e1fe61010e10ad45e30ddf7acd301fa6e05a2ddb825b5c2efb\",\n \"outpoint\": \"56cd081a3a6eadf25b7d3fe0b61207389352ed69a622d2ec28c5d669bf6a5313:0\",\n \"state\": \"WITHDRAWING\",\n \"swap_hash\": \"\",\n \"value\": \"500000\"\n }\n ]\n}\n"
59+
}
60+
},
61+
{
62+
"time_ms": 210,
63+
"kind": "exit",
64+
"data": {}
65+
}
66+
]
67+
}
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
},
18+
"events": [
19+
{
20+
"time_ms": 1,
21+
"kind": "grpc",
22+
"data": {
23+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
24+
"event": "request",
25+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
26+
"payload": {
27+
"state_filter": "WITHDRAWN",
28+
"outpoints": []
29+
}
30+
}
31+
},
32+
{
33+
"time_ms": 269,
34+
"kind": "grpc",
35+
"data": {
36+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
37+
"event": "response",
38+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
39+
"payload": {
40+
"filtered_deposits": [
41+
{
42+
"id": "aCYqEEyewyXea+w3uOMb2HW70vXwuc4togzwvWNvxEg=",
43+
"state": "WITHDRAWN",
44+
"outpoint": "edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0",
45+
"value": "500000",
46+
"confirmation_height": "125",
47+
"blocks_until_expiry": "14360",
48+
"swap_hash": ""
49+
},
50+
{
51+
"id": "hrXizflpTI5zmOQq/eEJdm180hQiA5Bbpj+9DrE3DvM=",
52+
"state": "WITHDRAWN",
53+
"outpoint": "bb358e4f73ae97c4e2d99c6d64e852bba7cf56e13105b05d1200b8ae1796665e:0",
54+
"value": "500000",
55+
"confirmation_height": "127",
56+
"blocks_until_expiry": "14362",
57+
"swap_hash": ""
58+
},
59+
{
60+
"id": "bCkPdTbqUJeUav/6xqaZBqJtd1gj67rO3+by1pwHReQ=",
61+
"state": "WITHDRAWN",
62+
"outpoint": "5eaa7dd7a291665393eddf5dece91feef901f22665933cce7a0732a9b81c3001:0",
63+
"value": "500000",
64+
"confirmation_height": "128",
65+
"blocks_until_expiry": "14363",
66+
"swap_hash": ""
67+
},
68+
{
69+
"id": "AYK02JWxxGcpCue1xsQv92sqQiWAepQhHJcxcNWog+s=",
70+
"state": "WITHDRAWN",
71+
"outpoint": "7e6360d6e6a394cfd096adf0bfe1275c5a83541eb573e90e463a78dc715f8894:0",
72+
"value": "500000",
73+
"confirmation_height": "142",
74+
"blocks_until_expiry": "14377",
75+
"swap_hash": ""
76+
}
77+
]
78+
}
79+
}
80+
},
81+
{
82+
"time_ms": 269,
83+
"kind": "stdout",
84+
"data": {
85+
"text": "{\n \"filtered_deposits\": [\n {\n \"blocks_until_expiry\": \"14360\",\n \"confirmation_height\": \"125\",\n \"id\": \"68262a104c9ec325de6bec37b8e31bd875bbd2f5f0b9ce2da20cf0bd636fc448\",\n \"outpoint\": \"edcdab8f0b1138d853a453b8b7a5ac3c694bd53ad38b7ccf062e45f99440e6e6:0\",\n \"state\": \"WITHDRAWN\",\n \"swap_hash\": \"\",\n \"value\": \"500000\"\n },\n {\n \"blocks_until_expiry\": \"14362\",\n \"confirmation_height\": \"127\",\n \"id\": \"86b5e2cdf9694c8e7398e42afde109766d7cd2142203905ba63fbd0eb1370ef3\",\n \"outpoint\": \"bb358e4f73ae97c4e2d99c6d64e852bba7cf56e13105b05d1200b8ae1796665e:0\",\n \"state\": \"WITHDRAWN\",\n \"swap_hash\": \"\",\n \"value\": \"500000\"\n },\n {\n \"blocks_until_expiry\": \"14363\",\n \"confirmation_height\": \"128\",\n \"id\": \"6c290f7536ea5097946afffac6a69906a26d775823ebbacedfe6f2d69c0745e4\",\n \"outpoint\": \"5eaa7dd7a291665393eddf5dece91feef901f22665933cce7a0732a9b81c3001:0\",\n \"state\": \"WITHDRAWN\",\n \"swap_hash\": \"\",\n \"value\": \"500000\"\n },\n {\n \"blocks_until_expiry\": \"14377\",\n \"confirmation_height\": \"142\",\n \"id\": \"0182b4d895b1c467290ae7b5c6c42ff76b2a4225807a94211c973170d5a883eb\",\n \"outpoint\": \"7e6360d6e6a394cfd096adf0bfe1275c5a83541eb573e90e463a78dc715f8894:0\",\n \"state\": \"WITHDRAWN\",\n \"swap_hash\": \"\",\n \"value\": \"500000\"\n }\n ]\n}\n"
86+
}
87+
},
88+
{
89+
"time_ms": 271,
90+
"kind": "exit",
91+
"data": {}
92+
}
93+
]
94+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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+
},
18+
"events": [
19+
{
20+
"time_ms": 3,
21+
"kind": "grpc",
22+
"data": {
23+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
24+
"event": "request",
25+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
26+
"payload": {
27+
"state_filter": "LOOPING_IN",
28+
"outpoints": []
29+
}
30+
}
31+
},
32+
{
33+
"time_ms": 268,
34+
"kind": "grpc",
35+
"data": {
36+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
37+
"event": "response",
38+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
39+
"payload": {
40+
"filtered_deposits": []
41+
}
42+
}
43+
},
44+
{
45+
"time_ms": 268,
46+
"kind": "stdout",
47+
"data": {
48+
"text": "{\n \"filtered_deposits\": []\n}\n"
49+
}
50+
},
51+
{
52+
"time_ms": 268,
53+
"kind": "exit",
54+
"data": {}
55+
}
56+
]
57+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"metadata": {
3+
"args": [
4+
"/home/user/bin/loop",
5+
"static",
6+
"listdeposits",
7+
"--network",
8+
"regtest",
9+
"--filter",
10+
"looped_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": 169458759
17+
},
18+
"events": [
19+
{
20+
"time_ms": 3,
21+
"kind": "grpc",
22+
"data": {
23+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
24+
"event": "request",
25+
"message_type": "looprpc.ListStaticAddressDepositsRequest",
26+
"payload": {
27+
"state_filter": "LOOPED_IN",
28+
"outpoints": []
29+
}
30+
}
31+
},
32+
{
33+
"time_ms": 168,
34+
"kind": "grpc",
35+
"data": {
36+
"method": "/looprpc.SwapClient/ListStaticAddressDeposits",
37+
"event": "response",
38+
"message_type": "looprpc.ListStaticAddressDepositsResponse",
39+
"payload": {
40+
"filtered_deposits": [
41+
{
42+
"id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
43+
"state": "LOOPED_IN",
44+
"outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
45+
"value": "500000",
46+
"confirmation_height": "148",
47+
"blocks_until_expiry": "14383",
48+
"swap_hash": "hDAjN0JANkGTlqt5ZN14uFsaSBqfHbc9tc3e5XwkQ+c="
49+
}
50+
]
51+
}
52+
}
53+
},
54+
{
55+
"time_ms": 168,
56+
"kind": "stdout",
57+
"data": {
58+
"text": "{\n \"filtered_deposits\": [\n {\n \"blocks_until_expiry\": \"14383\",\n \"confirmation_height\": \"148\",\n \"id\": \"8fbd6da2f945de2905aa7fa93860744d9387d3464484360e96e467a51de3bc9d\",\n \"outpoint\": \"9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0\",\n \"state\": \"LOOPED_IN\",\n \"swap_hash\": \"84302337424036419396ab7964dd78b85b1a481a9f1db73db5cddee57c2443e7\",\n \"value\": \"500000\"\n }\n ]\n}\n"
59+
}
60+
},
61+
{
62+
"time_ms": 169,
63+
"kind": "exit",
64+
"data": {}
65+
}
66+
]
67+
}

0 commit comments

Comments
 (0)