test proving prune only network is possible
@@ -127,3 +127,19 @@ Feature: Block Sync
Examples:
| X1 | Y1 | SYNC_TIME |
| 1000 | 50 | 60 |
+
+Scenario: Pruned mode network only
+ Given I have a base node NODE1 connected to all seed nodes
+ Given I have a pruned node PNODE1 connected to node NODE1 with pruning horizon set to 5
+ Given I have a pruned node PNODE2 connected to node PNODE1 with pruning horizon set to 5
+ When I mine a block on PNODE1 with coinbase CB1
+ When I mine 2 blocks on PNODE1
+ When I create a transaction TX1 spending CB1 to UTX1
+ When I submit transaction TX1 to PNODE1
+ When I mine 1 blocks on PNODE1
+ Then TX1 is in the MINED of all nodes
+ When I stop node NODE1
+ When I mine 16 blocks on PNODE1
+ Then node PNODE2 is at height 20
+ Given I have a pruned node PNODE3 connected to node PNODE1 with pruning horizon set to 5
+ Then node PNODE3 is at height 20
