forked from febe19/bazo-miner
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigs.go
31 lines (27 loc) · 1.09 KB
/
configs.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package miner
const (
//How many blocks can we verify dynamically (e.g. proper time check) until we are too far behind
//that this dynamic check is not possible anymore?!
DELAYED_BLOCKS = 10
TXFETCH_TIMEOUT = 2 //Sec
BLOCKFETCH_TIMEOUT = 40 //Sec
//Some prominent programming languages (e.g., Java) have not unsigned integer types
//Neglecting MSB simplifies compatibility
MAX_MONEY = 9223372036854775807 //(2^63)-1
//Default Block params
BLOCKHASH_SIZE = 32 //Byte
FEE_MINIMUM = 1 //Coins
BLOCK_SIZE = 5000 //Byte
DIFF_INTERVAL = 25 //Blocks
BLOCK_INTERVAL = 15 //Sec
BLOCK_REWARD = 0 //Coins
STAKING_MINIMUM = 1000 //Coins
WAITING_MINIMUM = 0 //Blocks
ACCEPTED_TIME_DIFF = 60 //Sec
SLASHING_WINDOW_SIZE = 100 //Blocks
SLASH_REWARD = 2 //Coins
NUM_INCL_PREV_PROOFS = 5 //Number of previous proofs included in the PoS condition
NO_EMPTYING_LENGTH = 100 //Number of blocks after the newest block which are not moved to the empty block bucket
FIXED_SPACE = 650
BLOOM_FILTER_SIZE = 8
)