Skip to content

Commit

Permalink
chore(feature-activation): config NOP feature to test FA for transact…
Browse files Browse the repository at this point in the history
…ions (#1177)
  • Loading branch information
glevco authored Nov 8, 2024
1 parent bfeacb5 commit 6ad7089
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hathor/conf/testnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@
lock_in_on_timeout=False,
version='0.59.0',
signal_support_by_default=True,
),

# NOP feature to test Feature Activation for Transactions
Feature.NOP_FEATURE_1: Criteria(
bit=0,
# N = 4_354_560
# Expected to be reached around Sunday, 2024-11-17.
# Right now the best block is 4_326_600 on testnet (2024-11-07).
start_height=4_354_560, # N
timeout_height=4_394_880, # N + 2 * 20160 (2 weeks after the start)
minimum_activation_height=0,
lock_in_on_timeout=False,
version='0.63.0',
signal_support_by_default=True,
)
}
)
Expand Down
13 changes: 13 additions & 0 deletions hathor/conf/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,16 @@ FEATURE_ACTIVATION:
lock_in_on_timeout: false
version: 0.59.0
signal_support_by_default: true

# NOP feature to test Feature Activation for Transactions
NOP_FEATURE_1:
bit: 0
# N = 4_354_560
# Expected to be reached around Sunday, 2024-11-17.
# Right now the best block is 4_326_600 on testnet (2024-11-07).
start_height: 4_354_560 # N
timeout_height: 4_394_880 # N + 2 * 20160 (2 weeks after the start)
minimum_activation_height: 0
lock_in_on_timeout: false
version: 0.63.0
signal_support_by_default: true

0 comments on commit 6ad7089

Please sign in to comment.