Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
hansieodendaal committed Mar 19, 2022
1 parent cfe43e1 commit 730924e
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 735 deletions.
25 changes: 25 additions & 0 deletions integration_tests/features/WalletTransactions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,31 @@ Feature: Wallet Transactions
When I mine 6 blocks on NODE_C
Then all nodes are at height 16

Scenario: Wallet send transactions while offline
Given I have a seed node SEED
And I have wallet WALLET_A connected to seed node SEED
And I have wallet WALLET_B connected to seed node SEED
And I have mining node MINER_A connected to base node SEED and wallet WALLET_A
When mining node MINER_A mines 1 blocks with min difficulty 1 and max difficulty 100000
When I mine 4 blocks on SEED
Then I wait for wallet WALLET_A to have at least 1000000000 uT
When I stop wallet WALLET_B
When I stop node SEED
Then I wait 10 seconds
Then I send 100000000 uT without waiting for broadcast from wallet WALLET_A to wallet WALLET_B at fee 20
Then I wait 10 seconds
And I start base node SEED
And I have a base node NODE_A connected to seed SEED
And I have a base node NODE_B connected to seed SEED
And I stop wallet WALLET_A
And I start wallet WALLET_A
And I start wallet WALLET_B
Then all nodes are at height 5
When I mine 1 blocks on SEED
Then all nodes are at height 6
Then wallet WALLET_B detects all transactions are at least Broadcast
Then I wait 1 seconds

Scenario: Short wallet clearing out invalid transactions after a reorg
#
# Chain 1:
Expand Down
Loading

0 comments on commit 730924e

Please sign in to comment.