routing: fix incorrect expiry values in spec_example.json
In this commit, we fix the incorrect expiry values in the spec_example.json test file. Many of the time locks were incorrect which allowed bugs within the path finding logic related to CLTV deltas to go un-detected.
This commit is contained in:
parent
6c986864ff
commit
6a6c29cd00
14
routing/testdata/spec_example.json
vendored
14
routing/testdata/spec_example.json
vendored
@ -30,7 +30,7 @@
|
|||||||
"channel_id": 12345,
|
"channel_id": 12345,
|
||||||
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
||||||
"flags": 1,
|
"flags": 1,
|
||||||
"expiry": 20,
|
"expiry": 10,
|
||||||
"min_htlc": 1,
|
"min_htlc": 1,
|
||||||
"fee_base_msat": 100,
|
"fee_base_msat": 100,
|
||||||
"fee_rate": 1000,
|
"fee_rate": 1000,
|
||||||
@ -43,7 +43,7 @@
|
|||||||
"channel_id": 12345,
|
"channel_id": 12345,
|
||||||
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
||||||
"flags": 0,
|
"flags": 0,
|
||||||
"expiry": 10,
|
"expiry": 20,
|
||||||
"min_htlc": 1,
|
"min_htlc": 1,
|
||||||
"fee_base_msat": 200,
|
"fee_base_msat": 200,
|
||||||
"fee_rate": 2000,
|
"fee_rate": 2000,
|
||||||
@ -56,7 +56,7 @@
|
|||||||
"channel_id": 12345839,
|
"channel_id": 12345839,
|
||||||
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
||||||
"flags": 1,
|
"flags": 1,
|
||||||
"expiry": 40,
|
"expiry": 10,
|
||||||
"min_htlc": 1,
|
"min_htlc": 1,
|
||||||
"fee_base_msat": 100,
|
"fee_base_msat": 100,
|
||||||
"fee_rate": 1000,
|
"fee_rate": 1000,
|
||||||
@ -69,7 +69,7 @@
|
|||||||
"channel_id": 12345839,
|
"channel_id": 12345839,
|
||||||
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
||||||
"flags": 0,
|
"flags": 0,
|
||||||
"expiry": 10,
|
"expiry": 40,
|
||||||
"min_htlc": 1,
|
"min_htlc": 1,
|
||||||
"fee_base_msat": 400,
|
"fee_base_msat": 400,
|
||||||
"fee_rate": 4000,
|
"fee_rate": 4000,
|
||||||
@ -95,7 +95,7 @@
|
|||||||
"channel_id": 1234583,
|
"channel_id": 1234583,
|
||||||
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
||||||
"flags": 1,
|
"flags": 1,
|
||||||
"expiry": 40,
|
"expiry": 30,
|
||||||
"min_htlc": 1,
|
"min_htlc": 1,
|
||||||
"fee_base_msat": 300,
|
"fee_base_msat": 300,
|
||||||
"fee_rate": 3000,
|
"fee_rate": 3000,
|
||||||
@ -108,7 +108,7 @@
|
|||||||
"channel_id": 1234589,
|
"channel_id": 1234589,
|
||||||
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
||||||
"flags": 1,
|
"flags": 1,
|
||||||
"expiry": 20,
|
"expiry": 30,
|
||||||
"min_htlc": 1,
|
"min_htlc": 1,
|
||||||
"fee_base_msat": 300,
|
"fee_base_msat": 300,
|
||||||
"fee_rate": 3000,
|
"fee_rate": 3000,
|
||||||
@ -121,7 +121,7 @@
|
|||||||
"channel_id": 1234589,
|
"channel_id": 1234589,
|
||||||
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
"channel_point": "89dc56859c6a082d15ba1a7f6cb6be3fea62e1746e2cb8497b1189155c21a233:0",
|
||||||
"flags": 0,
|
"flags": 0,
|
||||||
"expiry": 30,
|
"expiry": 20,
|
||||||
"min_htlc": 1,
|
"min_htlc": 1,
|
||||||
"fee_base_msat": 200,
|
"fee_base_msat": 200,
|
||||||
"fee_rate": 2000,
|
"fee_rate": 2000,
|
||||||
|
Loading…
Reference in New Issue
Block a user