neo-go/pkg/core
Anna Shaleva 2b11e99225 core: fix CalculateNetworkFee for signature contracts
First PUSHDATA1 is from invocation script, the second PUSHDATA1 is
from verification script. E.g.:

Invocation script:

INDEX    OPCODE       PARAMETER
0        PUSHDATA1    035913b9588da23a5c3ce14b2886a6b8ebb6a0eb92bdaa948510dfb5ae5194d6cb    <<
35       PUSHNULL
36       SYSCALL      Neo.Crypto.VerifyWithECDsaSecp256r1 (95440d78)

Verification script:

INDEX    OPCODE       PARAMETER
0        PUSHDATA1    3930fe5a9b44682f37741955df4a5f2585ed5aa438fa6e17ae51083673b1d64253e5a859c0cf168be67971e53a23c1c40582777d94a8e391db23ff613849627d    <<
2020-09-30 21:31:43 +03:00
..
block block: remove Verify() 2020-09-16 12:50:13 +03:00
blockchainer core/rpc: add continue flag to iterating functions 2020-09-21 22:23:34 +03:00
dao state: store the length of NEP5TransferLog in the first byte 2020-09-21 21:51:11 +03:00
interop Merge pull request #1439 from nspcc-dev/core/verify_tx_witnesses_fix 2020-09-29 18:11:39 +03:00
mempool mempool: don't create new big.Int in tryAddSendersFee() if possible 2020-09-10 15:35:19 +03:00
mpt mpt: fix comment typo 2020-09-21 17:54:11 +03:00
native native: initialize cache in OnPersist 2020-09-29 10:17:47 +03:00
state core: update claimable GAS calculation 2020-09-23 14:12:42 +03:00
storage storage: add bloom filter to leveldb 2020-09-09 20:46:31 +03:00
test_data block: update binary test data 2020-08-18 14:52:30 +03:00
transaction transaction: implement OracleResponse attribute 2020-09-16 14:50:31 +03:00
blockchain.go core: take into account gasConsumed during tx witnesses verification 2020-09-29 17:43:35 +03:00
blockchain_test.go core: fix CalculateNetworkFee for signature contracts 2020-09-30 21:31:43 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go *: move syscall handling out of VM 2020-07-29 13:41:08 +03:00
helper_test.go native: support postPersist method 2020-09-23 14:47:09 +03:00
interop_neo.go core/interop: add base58 encoding/decoding syscalls 2020-08-23 17:19:56 +03:00
interop_neo_test.go crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
interop_system.go core: move contractCall* to a separate package 2020-09-25 16:32:10 +03:00
interop_system_test.go core: move contractCall* to a separate package 2020-09-25 16:32:10 +03:00
interops.go core: move contractCall* to a separate package 2020-09-25 16:32:10 +03:00
interops_test.go core: add VM into interop context 2020-08-07 16:15:24 +03:00
native_contract_test.go core: move contractCall* to a separate package 2020-09-25 16:32:10 +03:00
native_neo_test.go Merge pull request #1435 from nspcc-dev/checkwitness-calling-script-hash 2020-09-29 12:49:09 +03:00
native_oracle_test.go interop/runtime: allow calling script hash to pass CheckWitness 2020-09-29 09:56:19 +03:00
native_policy_test.go *: fix ineffassign where the value should really be used 2020-08-14 12:08:57 +03:00
opcode_price.go core: add prices for TRY* opcodes 2020-07-29 13:41:08 +03:00
prometheus.go core: add state height to prometheus metrics 2020-07-30 12:42:15 +03:00
util.go core: fix CalculateNetworkFee for signature contracts 2020-09-30 21:31:43 +03:00
util_test.go core: remove unnecessary comment 2020-08-04 17:34:06 +03:00