diff --git a/core/blockchain.go b/core/blockchain.go index d917dcc0c..a47d7b749 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -72,7 +72,7 @@ type BlockChain struct { superNode bool - shieldKeyword string + unsupportedKeyword string } const ( @@ -135,16 +135,16 @@ func NewBlockChain(neb Neblet) (*BlockChain, error) { txPool.RegisterInNetwork(neb.NetService()) var bc = &BlockChain{ - chainID: neb.Config().Chain.ChainId, - genesis: neb.Genesis(), - bkPool: blockPool, - txPool: txPool, - storage: neb.Storage(), - eventEmitter: neb.EventEmitter(), - nvm: neb.Nvm(), - quitCh: make(chan int, 1), - superNode: neb.Config().Chain.SuperNode, - shieldKeyword: neb.Config().Chain.ShieldKeyword, + chainID: neb.Config().Chain.ChainId, + genesis: neb.Genesis(), + bkPool: blockPool, + txPool: txPool, + storage: neb.Storage(), + eventEmitter: neb.EventEmitter(), + nvm: neb.Nvm(), + quitCh: make(chan int, 1), + superNode: neb.Config().Chain.SuperNode, + unsupportedKeyword: neb.Config().Chain.UnsupportedKeyword, } bc.cachedBlocks, err = lru.New(128) diff --git a/core/transaction_pool.go b/core/transaction_pool.go index c3fe1ddd4..a262ed8ce 100644 --- a/core/transaction_pool.go +++ b/core/transaction_pool.go @@ -254,19 +254,19 @@ func (pool *TransactionPool) Push(tx *Transaction) error { pool.mu.Lock() defer pool.mu.Unlock() - //if super node and tx type is deploy, add keyword shielding. - if pool.bc.superNode == true && len(pool.bc.shieldKeyword) > 0 && len(tx.Data()) > 0 { + //if is super node and tx type is deploy, do unsupported keyword checking. + if pool.bc.superNode == true && len(pool.bc.unsupportedKeyword) > 0 && len(tx.Data()) > 0 { if tx.Type() == TxPayloadDeployType { data := string(tx.Data()) - keywords := strings.Split(pool.bc.shieldKeyword, ",") + keywords := strings.Split(pool.bc.unsupportedKeyword, ",") for _, keyword := range keywords { keyword = strings.ToLower(keyword) if strings.Contains(data, keyword) { logging.VLog().WithFields(logrus.Fields{ - "tx": tx, - "shieldedKeyword": keyword, - }).Debug("transaction data has shielded keyword") - return ErrShieldedKeyword + "tx": tx, + "unsupportedKeyword": keyword, + }).Debug("transaction data has unsupported keyword") + return ErrUnsupportedKeyword } } } diff --git a/core/types.go b/core/types.go index 4e0931b2b..1613160b3 100644 --- a/core/types.go +++ b/core/types.go @@ -163,8 +163,8 @@ var ( // nvm error ErrExecutionFailed = errors.New("execution failed") - // shielded keywork error - ErrShieldedKeyword = errors.New("transaction data has unsupported keywords") + // unsupported keyword error in smart contract + ErrUnsupportedKeyword = errors.New("transaction data has unsupported keyword") ) // Default gas count diff --git a/neblet/pb/config.pb.go b/neblet/pb/config.pb.go index abf91cee8..29fd90984 100644 --- a/neblet/pb/config.pb.go +++ b/neblet/pb/config.pb.go @@ -205,9 +205,9 @@ type ChainConfig struct { // Max GasLimit. GasLimit string `protobuf:"bytes,27,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit"` // Supported signature cipher list. ["ECC_SECP256K1"] - SignatureCiphers []string `protobuf:"bytes,28,rep,name=signature_ciphers,json=signatureCiphers" json:"signature_ciphers"` - SuperNode bool `protobuf:"varint,30,opt,name=super_node,json=superNode,proto3" json:"super_node"` - ShieldKeyword string `protobuf:"bytes,31,opt,name=shield_keyword,json=shieldKeyword,proto3" json:"shield_keyword"` + SignatureCiphers []string `protobuf:"bytes,28,rep,name=signature_ciphers,json=signatureCiphers" json:"signature_ciphers"` + SuperNode bool `protobuf:"varint,30,opt,name=super_node,json=superNode,proto3" json:"super_node"` + UnsupportedKeyword string `protobuf:"bytes,31,opt,name=unsupported_keyword,json=unsupportedKeyword,proto3" json:"unsupported_keyword"` } func (m *ChainConfig) Reset() { *m = ChainConfig{} } @@ -313,9 +313,9 @@ func (m *ChainConfig) GetSuperNode() bool { return false } -func (m *ChainConfig) GetShieldKeyword() string { +func (m *ChainConfig) GetUnsupportedKeyword() string { if m != nil { - return m.ShieldKeyword + return m.UnsupportedKeyword } return "" } @@ -609,68 +609,68 @@ func init() { func init() { proto.RegisterFile("config.proto", fileDescriptorConfig) } var fileDescriptorConfig = []byte{ - // 996 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x56, 0x4d, 0x6f, 0x1b, 0x37, - 0x10, 0xad, 0xe4, 0x8f, 0x68, 0x47, 0x92, 0xa3, 0x30, 0x8e, 0x43, 0xc7, 0xad, 0xed, 0xaa, 0x30, - 0x20, 0x20, 0x85, 0x81, 0xba, 0xb9, 0xf4, 0xd0, 0x43, 0x20, 0xa0, 0x80, 0x61, 0x3b, 0x30, 0xd6, - 0xed, 0x79, 0xb1, 0xda, 0x1d, 0xad, 0x08, 0xaf, 0x96, 0x04, 0x49, 0x39, 0xf1, 0xad, 0x7f, 0xa0, - 0x7f, 0xaf, 0xfd, 0x31, 0x45, 0x81, 0x62, 0x66, 0xb9, 0xfa, 0x42, 0x6e, 0x9c, 0xf7, 0x1e, 0x39, - 0xcb, 0x99, 0xc7, 0x91, 0xa0, 0x97, 0xe9, 0x6a, 0xaa, 0x8a, 0x4b, 0x63, 0xb5, 0xd7, 0xa2, 0x53, - 0xe1, 0xa4, 0x44, 0x6f, 0x26, 0xc3, 0xbf, 0xda, 0xb0, 0x3f, 0x66, 0x4a, 0xfc, 0x04, 0x2f, 0x2a, - 0xf4, 0x9f, 0xb5, 0x7d, 0x94, 0xad, 0xf3, 0xd6, 0xa8, 0x7b, 0xf5, 0xf6, 0xb2, 0x91, 0x5d, 0x7e, - 0xaa, 0x89, 0x5a, 0x19, 0x37, 0x3a, 0xf1, 0x1e, 0xf6, 0xb2, 0x59, 0xaa, 0x2a, 0xd9, 0xe6, 0x0d, - 0x6f, 0x56, 0x1b, 0xc6, 0x04, 0x07, 0x79, 0xad, 0x11, 0x17, 0xb0, 0x63, 0x4d, 0x26, 0x77, 0x58, - 0xfa, 0x7a, 0x25, 0x8d, 0xef, 0xc7, 0x41, 0x48, 0x3c, 0x9d, 0xe9, 0x7c, 0xea, 0x9d, 0x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d3, 0x5c, 0x59, 0xd9, 0xad, 0x99, 0x10, 0x52, 0x45, 0x1e, 0xf1, - 0x99, 0x88, 0x1e, 0x13, 0x21, 0xa2, 0x0b, 0x3b, 0x9f, 0x5a, 0x9f, 0xcc, 0x55, 0x85, 0xf2, 0xf0, - 0xbc, 0x35, 0xea, 0xc4, 0x11, 0x23, 0x77, 0xaa, 0x42, 0xf1, 0x0e, 0x3a, 0x99, 0x56, 0xd5, 0x24, - 0x75, 0x28, 0xdf, 0xf0, 0xc6, 0x65, 0x2c, 0x0e, 0x61, 0x8f, 0x36, 0x59, 0x79, 0xc4, 0x44, 0x1d, - 0x88, 0x53, 0x00, 0x93, 0x3a, 0x67, 0x66, 0x96, 0xf6, 0xbc, 0x0d, 0x15, 0x5e, 0x22, 0xe2, 0x17, - 0x38, 0xc6, 0x2a, 0x9d, 0x94, 0x98, 0x58, 0x9c, 0x6b, 0x8f, 0x89, 0x53, 0x45, 0x95, 0x70, 0x41, - 0xac, 0x94, 0x9c, 0xff, 0xa8, 0x16, 0xc4, 0xcc, 0x3f, 0xa8, 0xa2, 0x7a, 0x60, 0x56, 0xfc, 0x08, - 0xe2, 0x2b, 0x7b, 0x8e, 0x39, 0xc5, 0xc0, 0x6e, 0xab, 0x4f, 0x20, 0x2a, 0x52, 0x97, 0x18, 0xab, - 0x32, 0x94, 0xef, 0xea, 0x6f, 0x2f, 0x52, 0x77, 0x4f, 0x71, 0x43, 0x72, 0x5f, 0xe4, 0xc9, 0x92, - 0xe4, 0x5e, 0x88, 0xf7, 0xf0, 0x8a, 0x12, 0xa4, 0x7e, 0x61, 0x31, 0xc9, 0x94, 0x99, 0xa1, 0x75, - 0xf2, 0x5b, 0x36, 0xd2, 0x60, 0x49, 0x8c, 0x6b, 0x9c, 0x0b, 0xb8, 0x30, 0x68, 0x93, 0x4a, 0xe7, - 0x28, 0x4f, 0x43, 0x01, 0x09, 0xf9, 0xa4, 0x73, 0x14, 0x17, 0x70, 0xe0, 0x66, 0x0a, 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93, 0x3d, 0xf6, 0x66, 0x37, 0x60, 0xbf, - 0xa7, 0x85, 0x1b, 0x9e, 0xc1, 0xcb, 0xad, 0xe4, 0xa2, 0x07, 0x9d, 0xe6, 0xc4, 0xc1, 0x37, 0xc3, - 0x2f, 0x70, 0xb0, 0x79, 0x3e, 0xfd, 0xe0, 0xcc, 0xb4, 0xf3, 0xa1, 0x78, 0xbc, 0x26, 0x8c, 0x7d, - 0xd7, 0x66, 0x73, 0xf2, 0x5a, 0x1c, 0x40, 0x3b, 0x9f, 0x84, 0x0e, 0xb5, 0xf3, 0x09, 0x69, 0x16, - 0x0e, 0x2d, 0x7b, 0x33, 0x8a, 0x79, 0x4d, 0xf3, 0x95, 0x66, 0x23, 0x0f, 0x86, 0xda, 0x86, 0xcb, - 0x78, 0xb2, 0xcf, 0xff, 0x05, 0x7e, 0xfe, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xab, 0x59, 0xdd, 0x2d, - 0x1b, 0x08, 0x00, 0x00, + // 1002 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x56, 0x4f, 0x6f, 0x1b, 0xb7, + 0x13, 0xfd, 0x49, 0xfe, 0x13, 0xed, 0x48, 0x76, 0x14, 0xda, 0xb1, 0xe9, 0xf8, 0x57, 0xdb, 0x55, + 0x61, 0x40, 0x40, 0x0a, 0x17, 0x75, 0x73, 0xe9, 0xa1, 0x87, 0x40, 0x40, 0x01, 0xc3, 0x76, 0x60, + 0xac, 0xdb, 0xf3, 0x62, 0xb5, 0x3b, 0x5a, 0x11, 0x5e, 0x2d, 0x09, 0x92, 0x72, 0xe2, 0x5b, 0x2f, + 0x3d, 0xf6, 0xeb, 0xb5, 0x9f, 0xa6, 0x40, 0x31, 0xb3, 0x5c, 0xfd, 0x43, 0x6e, 0x9c, 0xf7, 0x1e, + 0x39, 0xcb, 0x99, 0xc7, 0x91, 0xa0, 0x97, 0xe9,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xef, 0xf9, 0x0f, 0x25, 0x08, 0x00, 0x00, } diff --git a/neblet/pb/config.proto b/neblet/pb/config.proto index 34000dd3e..a96edf95f 100644 --- a/neblet/pb/config.proto +++ b/neblet/pb/config.proto @@ -86,7 +86,7 @@ message ChainConfig { bool super_node = 30; - string shield_keyword = 31; + string unsupported_keyword = 31; } message RPCConfig {