Skip to content

Commit

Permalink
hardforks in own object
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjatlanta committed Oct 14, 2021
1 parent bbf9e4a commit 1cd6160
Show file tree
Hide file tree
Showing 4 changed files with 421 additions and 412 deletions.
1 change: 1 addition & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ libbitcoin_common_a_SOURCES = \
komodo_events.cpp \
komodo_gateway.cpp \
komodo_globals.cpp \
komodo_hardfork.cpp \
komodo_interest.cpp \
komodo_jumblr.cpp \
komodo_kv.cpp \
Expand Down
8 changes: 0 additions & 8 deletions src/komodo_globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ int32_t NUM_PRICES; uint32_t *PVALS;
struct knotaries_entry *Pubkeys;

struct komodo_state KOMODO_STATES[34];
const uint32_t nStakedDecemberHardforkTimestamp = 1576840000; //December 2019 hardfork 12/20/2019 @ 11:06am (UTC)
const int32_t nDecemberHardforkHeight = 1670000; //December 2019 hardfork

const uint32_t nS4Timestamp = 1592146800; //dPoW Season 4 2020 hardfork Sunday, June 14th, 2020 03:00:00 PM UTC
const int32_t nS4HardforkHeight = 1922000; //dPoW Season 4 2020 hardfork Sunday, June 14th, 2020

const uint32_t nS5Timestamp = 1623682800; //dPoW Season 5 Monday, June 14th, 2021 (03:00:00 PM UTC)
const int32_t nS5HardforkHeight = 2437300; //dPoW Season 5 Monday, June 14th, 2021

#define _COINBASE_MATURITY 100
int COINBASE_MATURITY = _COINBASE_MATURITY;//100;
Expand Down
Loading

0 comments on commit 1cd6160

Please sign in to comment.