core: remove config fields related to free transactions

In NEO3 every transaction must have some gas attached.

Closes #1064.
This commit is contained in:
Evgenii Stratonikov 2020-06-18 22:21:19 +03:00
parent 84387b2416
commit 2f724b792c
4 changed files with 1 additions and 43 deletions

View file

@ -7,17 +7,10 @@ import (
// ProtocolConfiguration represents the protocol config.
type (
ProtocolConfiguration struct {
// FeePerExtraByte sets the expected per-byte fee for
// transactions exceeding the MaxFreeTransactionSize.
FeePerExtraByte float64 `yaml:"FeePerExtraByte"`
LowPriorityThreshold float64 `yaml:"LowPriorityThreshold"`
Magic netmode.Magic `yaml:"Magic"`
MaxTransactionsPerBlock int `yaml:"MaxTransactionsPerBlock"`
// Maximum size of low priority transaction in bytes.
MaxFreeTransactionSize int `yaml:"MaxFreeTransactionSize"`
// Maximum number of low priority transactions accepted into block.
MaxFreeTransactionsPerBlock int `yaml:"MaxFreeTransactionsPerBlock"`
MemPoolSize int `yaml:"MemPoolSize"`
MemPoolSize int `yaml:"MemPoolSize"`
// SaveStorageBatch enables storage batch saving before every persist.
SaveStorageBatch bool `yaml:"SaveStorageBatch"`
SecondsPerBlock int `yaml:"SecondsPerBlock"`