forked from TurtleNetwork/TurtleNetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTN-testnet.conf
136 lines (119 loc) · 4.26 KB
/
TN-testnet.conf
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# TN node settins
TN {
leveldb-cache-size = 256M
leveldb-cache-size = 256M
blockchain {
type: CUSTOM
custom {
address-scheme-character: "l"
# various parameters of network consensus
functionality {
feature-check-blocks-period = 5000
blocks-for-feature-activation = 4000
allow-temporary-negative-until: 0
allow-invalid-payment-transactions-by-timestamp: 0
require-sorted-transactions-after: 0
generation-balance-depth-from-50-to-1000-after-height: 0
minimal-generating-balance-after: 0
allow-transactions-from-future-until: 0
allow-unissued-assets-until: 0
require-payment-unique-id-after: 0
allow-invalid-reissue-in-same-block-until-timestamp: 0
allow-multiple-lease-cancel-transaction-until-timestamp: 0
reset-effective-balances-at-height: 1
allow-leased-balance-transfer-until: 0
block-version-3-after-height: 0
double-features-periods-after-height:0
pre-activated-features = {
2 = 0
1 = 0
3 = 0
5 = 0
6 = 0
}
# ...
}
genesis {
average-block-delay: 60000ms
initial-base-target: 153722867
timestamp: 1500635421931
block-timestamp: 1500635421931
signature: "5E3xfYy3Mdo6XvqnWyQjRjyyBpssCKn6uJXmy4tvmpR4ZY8tMJDVHX282bxm192FNsWGfXM7DiT1Kh8YyJfWa1t9"
initial-balance: 10000000000000000
transactions = [
{recipient: "3XrUtvRZ6LLU8F2wwkuDffwTuLUNcpnjthB", amount: 9000000000000000},
{recipient: "3XqUDqCLK8knT96iFqR91uL4gvGkFiw39Bh", amount: 1000000000000000}
]
}
}
}
# P2P Network settings
network {
known-peers = [
"apitnetworktest.blackturtle.eu:6560",
"217.100.219.250:6560"
]
# Network address
bind-address = "0.0.0.0"
# Port number
port = 6560
# Node name to send during handshake. Comment this string out to set random node name.
node-name = "My TESTNET node"
# String with IP address and port to send as external address during handshake. Could be set automatically if uPnP is enabled.
#declared-address = "1.2.3.4:6863"
black-list-residence-time = 30 minutes
}
# Wallet settings
wallet {
# Password to protect wallet file
password = "some string as password"
# Wallet seed as BASE58 string
# seed = "BASE58SEED"
}
# Blockchain settings
blockchain.type = TESTNET
# Matcher settings
matcher {
# Enable/disable matcher
enable = no
# Matcher's account address
# account = ""
# Matcher REST API bind address
bind-address = "127.0.0.1"
# Matcher REST API port
port = 6566
price-assets = [
"TN",
"Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe",
"HyFJ3rrq5m7FxdkWtQXkZrDat1F7LjVVGfpSkUuEXQHj",
"2xnE3EdpqXtFgCP156qt1AbyjpqdZ5jGjWo3CwTawcux",
"6pmDivReTLikwYqQtJTv6dTcE59knriaodB3AK8T9cF8"
]
predefined-pairs = [
{amountAsset = "TN", priceAsset = "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe"},
{amountAsset = "TN", priceAsset = "HyFJ3rrq5m7FxdkWtQXkZrDat1F7LjVVGfpSkUuEXQHj"},
{amountAsset = "TN", priceAsset = "2xnE3EdpqXtFgCP156qt1AbyjpqdZ5jGjWo3CwTawcux"},
{amountAsset = "TN", priceAsset = "6pmDivReTLikwYqQtJTv6dTcE59knriaodB3AK8T9cF8"},
{amountAsset = "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe", priceAsset = "2aSqCbvCTgvCpwkGsk4mea4tCLG4Zgp69aQDhHNvRUZv"},
{amountAsset = "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe", priceAsset = "8zEZuJcKPQmFuYgVe5ZMpxgiPLu5zBhjA6xgdGomQDaP"},
{amountAsset = "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe", priceAsset = "D2MNuUyA38pSKoV7F7vpS15Uhw9nw5qfbrGUfCLRNuRo"},
{amountAsset = "2xnE3EdpqXtFgCP156qt1AbyjpqdZ5jGjWo3CwTawcux", priceAsset = "HyFJ3rrq5m7FxdkWtQXkZrDat1F7LjVVGfpSkUuEXQHj"}
]
}
# Node's REST API settings
rest-api {
# Enable/disable node's REST API
enable = yes
# Network address to bind to
bind-address = "0.0.0.0"
# Port to listen to REST API requests
port = 6561
# Hash of API key string
api-key-hash = "Dx4NvzYMc3ZStZ5krkgG2tEcaFcgVLYLYQzKGw3iTRUu"
}
features {
auto-shutdown-on-unsupported-feature = yes
supported = [1, 2, 3,4, 5, 6,7, 8]
}
}
include "local.conf"