Commit graph

  • 19a0d16751
    Merge pull request #427 from nspcc-dev/feat/max_size Roman Khimov 2019-10-17 12:39:11 +0300
  • 3fc2bf5452 *: fix some misspellings Roman Khimov 2019-10-17 12:30:24 +0300
  • 1b5ea67737 core: fix ineffassign suggestion Roman Khimov 2019-10-17 12:27:15 +0300
  • e5ed7a7eb7 io: fix lintian suggestions in test code Roman Khimov 2019-10-17 12:25:36 +0300
  • 6029d5a888 payload: drop useless type declaration Roman Khimov 2019-10-17 12:19:41 +0300
  • 288000a8af storage: drop useless nil assignment in leveldb code Roman Khimov 2019-10-17 12:18:16 +0300
  • 6d7016c3b9 vm: restrict max size in SETITEM Evgenii Stratonikov 2019-10-17 11:18:15 +0300
  • 6f1f9e56bb vm: restrict max size in PACK Evgenii Stratonikov 2019-10-17 11:07:44 +0300
  • 2d56c66bde vm: restrict max size in APPEND Evgenii Stratonikov 2019-10-17 11:03:35 +0300
  • ade4abd91f
    Merge pull request #432 from nspcc-dev/networking-fixes Roman Khimov 2019-10-17 12:05:51 +0300
  • 3f6104ef4d network: ignore consensus messages Roman Khimov 2019-10-17 11:28:58 +0300
  • 8abcaeee6f vm: restrict max size in NEWARRAY/NEWSTRUCT Evgenii Stratonikov 2019-10-17 11:03:21 +0300
  • 85f7732d44
    Merge pull request #428 from nspcc-dev/feat/minimum_go_version Roman Khimov 2019-10-17 11:46:51 +0300
  • c31ba8f8b2 Add minimum go version to go.mod Evgenii Stratonikov 2019-10-17 11:30:52 +0300
  • 56459c6c63 network: remove port check from handleVersionCmd() Roman Khimov 2019-10-17 11:19:24 +0300
  • b9fc34e8c3
    Merge pull request #425 from nspcc-dev/memcached-layer Roman Khimov 2019-10-17 11:13:32 +0300
  • 2245fedbb1 core: deduplicate state commit methods, use interim MemCachedStore Roman Khimov 2019-10-16 17:29:21 +0300
  • fc0031e5aa core: move write caching layer into MemCacheStore Roman Khimov 2019-10-16 16:41:50 +0300
  • 4822c736bb
    Merge pull request #418 from nspcc-dev/various-verification-fixes2 Roman Khimov 2019-10-15 19:11:00 +0300
  • 8926cbe368 core: fix potential data race in logging code Roman Khimov 2019-10-15 18:55:32 +0300
  • a6610ba082 core: verify blocks, fix #12 Roman Khimov 2019-10-15 12:52:10 +0300
  • 03c20f1876 core: make ContractState receiver names consistent Roman Khimov 2019-10-11 18:21:34 +0300
  • aec6a5f029 core/config: make block and transaction verification configurable Roman Khimov 2019-10-11 17:46:47 +0300
  • 56dcff2894 core: invoke contracts for Invocation TXes Roman Khimov 2019-10-11 17:02:59 +0300
  • 74590551c4 core: add some interops Roman Khimov 2019-10-11 17:00:11 +0300
  • 667f346c04 core: improve error message in AddBlock test Roman Khimov 2019-10-11 14:24:00 +0300
  • 8266a5ce19 core: export GetContractState/GetScriptHashesForVerifying via Blockchainer Roman Khimov 2019-10-11 14:22:53 +0300
  • 19fd7f844e core: add GetUnspentCoinState() for future interops Roman Khimov 2019-10-11 14:16:53 +0300
  • bfddf9b3f6 core: implement StorageItem for future interops Roman Khimov 2019-10-11 14:08:21 +0300
  • 2156d5db73 core: add put/delete functions for ContractState Roman Khimov 2019-10-11 13:11:54 +0300
  • 58d9b79fe3 core: avoid duplicates in GetScriptHashesForVerifyingClaim() Roman Khimov 2019-10-11 12:21:09 +0300
  • 35824728eb core: add putAssetStateIntoStore() Roman Khimov 2019-10-11 12:15:16 +0300
  • 96934cfeab core: return error from verifyOutputs() Roman Khimov 2019-10-11 12:09:16 +0300
  • ab4ff79e02 core: fix typo in GetTransactionResults() Roman Khimov 2019-10-11 11:57:48 +0300
  • cffe8d0ee2 core: return error from verifyResults() Roman Khimov 2019-10-11 11:42:36 +0300
  • 16bc5296cb block: return error from Verify Roman Khimov 2019-10-11 11:40:54 +0300
  • 258f397b9a core: append transactions to the block in GetBlock() Roman Khimov 2019-10-10 20:02:09 +0300
  • d007cc00cc vm: add script check functions Roman Khimov 2019-10-10 19:52:10 +0300
  • 7ab58ff8cb keys: make public key's IsInfinity() public Roman Khimov 2019-10-10 18:40:16 +0300
  • c5a4cfaebe smartcontract: add CreateSignatureRedeemScript() Roman Khimov 2019-10-10 18:22:06 +0300
  • 238c590ddb core: fix contract state's Properties to use PropertyState Roman Khimov 2019-10-10 17:56:58 +0300
  • acb7ef7fbd vm: support uint8 and uint64 in makeStackItem() Roman Khimov 2019-10-10 16:47:27 +0300
  • 6b70c5f2bd keys: rename New*FromRawBytes to New*FromASN1 Roman Khimov 2019-10-10 16:45:30 +0300
  • 782ca64d92 vm: accept uint16 in makeStackItem() Roman Khimov 2019-10-08 12:29:18 +0300
  • 78861485b6 storage: simplify MemoryBatch Roman Khimov 2019-10-07 20:25:33 +0300
  • 13bf2618ef storage: improve PutBatch for MemoryStore Roman Khimov 2019-10-07 20:13:59 +0300
  • 3ada92944a storage: drop Len from the Batch interface Roman Khimov 2019-10-07 19:55:33 +0300
  • e111892653 storage: redo DB testing Roman Khimov 2019-10-07 19:45:01 +0300
  • 88a3f50a0b
    Merge pull request #416 from nspcc-dev/vm_step_debug Roman Khimov 2019-10-14 19:30:46 +0300
  • 5109b2e3e7 vm: fix cli comment Vsevolod Brekelov 2019-10-14 18:38:05 +0300
  • 591d5eafbe vm: add stepInto,stepOver,stepOut Vsevolod Brekelov 2019-10-14 18:37:11 +0300
  • 48b6a427cf storage: add Delete method for Batch and Store Roman Khimov 2019-10-07 17:08:09 +0300
  • add9368e9d storage: use strings as keys for memory batch Roman Khimov 2019-10-07 17:05:53 +0300
  • aab2f9a837
    Merge pull request #417 from nspcc-dev/various-verification-fixes2 Roman Khimov 2019-10-04 16:17:24 +0300
  • dca332f333 vm: use new Context.Next() to properly dump programs Roman Khimov 2019-10-03 16:56:48 +0300
  • 53a3b18652 vm: completely separate instruction read and execution phases Roman Khimov 2019-10-03 16:54:14 +0300
  • 1bf232ad50 vm: introduce TryBool() for Element and use it in VerifyWitnesses Roman Khimov 2019-10-03 16:26:32 +0300
  • 8441b31b4b vm: accept uint32 in makeStackItem() Roman Khimov 2019-10-03 16:23:21 +0300
  • d62a367900 vm: add Value() method to Element Roman Khimov 2019-10-03 16:12:24 +0300
  • 0c963875af vm: check for fault flag first in Run() Roman Khimov 2019-10-03 16:04:02 +0300
  • 705c7f106f vm: don't panic if there is no result in PopResult() Roman Khimov 2019-10-03 16:02:15 +0300
  • a357d99624 vm: introduce MaxArraySize constant Roman Khimov 2019-10-03 15:58:52 +0300
  • cfa0c13322 vm: add InteropItem type for interop data Roman Khimov 2019-10-01 20:11:01 +0300
  • da2156f955 vm: add batched RegisterInteropFuncs Roman Khimov 2019-10-01 16:38:33 +0300
  • 26e3b6abbe vm: extend interops to contain price Roman Khimov 2019-10-01 16:37:42 +0300
  • ceca9cdb67 core/vm: implement contract storage and script retrieval Roman Khimov 2019-09-30 19:52:16 +0300
  • e83dc94744
    Merge pull request #415 from nspcc-dev/various-verification-fixes Roman Khimov 2019-10-01 15:14:52 +0300
  • b7c1efe7e3 core: fix References() result key type Roman Khimov 2019-09-30 17:42:37 +0300
  • 8537700b7b core: sort hashes and witnesses in VerifyWitnesses() Roman Khimov 2019-09-30 17:39:42 +0300
  • dd0dd2d031 core: add claim-specific GetScriptHashesForVerifying() Roman Khimov 2019-09-30 17:37:04 +0300
  • 854fb187a3 core: verify transactions in AddBlock() Roman Khimov 2019-09-30 17:35:11 +0300
  • 1095abb04c core: fix default asset expiration to match C# code Roman Khimov 2019-09-30 17:27:41 +0300
  • 832c56f97d core: fix DutyFlag check in GetScriptHashesForVerifying() Roman Khimov 2019-09-30 16:57:24 +0300
  • 4ae18e8ffc block: check for Transaction length before messing with txes Roman Khimov 2019-09-30 16:55:02 +0300
  • c3591d8897 vm: fix CHECKMULTISIG to comply with NEO VM implementation Roman Khimov 2019-09-30 16:52:35 +0300
  • fac778d3dd
    Merge pull request #414 from nspcc-dev/persistence-rewamp Roman Khimov 2019-09-27 17:55:43 +0300
  • 7779ad6c28 storage: always return ErrKeyNotFound when key is not found Roman Khimov 2019-09-27 15:40:44 +0300
  • 5ff1399d54 storage: unexport MemoryStore mutex Roman Khimov 2019-09-26 20:49:02 +0300
  • 9617a6f9e9 network: fix requestBlocks() for (headers == blocks + 1) Roman Khimov 2019-09-26 20:18:17 +0300
  • 3c40a53c4d core: no need to Close() Blockchain in tests Roman Khimov 2019-09-26 19:11:25 +0300
  • 0dbdbb9c2a storage: remove RedisBatch in favor of MemoryBatch Roman Khimov 2019-09-26 19:05:20 +0300
  • af557cea19 storage: deduplicate BoltDBBatch/MemoryBatch Roman Khimov 2019-09-26 18:39:53 +0300
  • 8bf37f45fc storage: remove impossible error branch from MemoryStore Roman Khimov 2019-09-26 20:21:09 +0300
  • 4a732d97ac storage: add comments about errors from MemoryStore Roman Khimov 2019-09-26 18:35:36 +0300
  • 920d7c610c core: remove blockCache, use MemoryStore, redesign persist() Roman Khimov 2019-09-26 18:14:00 +0300
  • c531dc0bde network: add block queue Roman Khimov 2019-09-25 19:54:31 +0300
  • ab8d9c59d6
    Merge pull request #412 from nspcc-dev/feature/map Roman Khimov 2019-09-25 19:00:26 +0300
  • c7c4291774 vm: simplify APPEND implementation a bit Evgenii Stratonikov 2019-09-25 12:18:37 +0300
  • 13d7770c68 vm: support Map in ARRAYSIZE Evgenii Stratonikov 2019-09-24 16:50:37 +0300
  • c66f493017 vm: compare Map by reference in EQUAL Evgenii Stratonikov 2019-09-24 16:45:41 +0300
  • c0be2b2a99 vm: support Map in REMOVE Evgenii Stratonikov 2019-09-24 16:16:24 +0300
  • 8b6bddca3c vm: support Map in PICKITEM and SETITEM Evgenii Stratonikov 2019-09-24 15:58:31 +0300
  • d7bb50c609 vm: implement VALUES opcode Evgenii Stratonikov 2019-09-24 15:53:55 +0300
  • 2da64267b0 vm: implement KEYS opcode Evgenii Stratonikov 2019-09-24 15:41:39 +0300
  • 903173c991 core: fix deadlock in headers list init Roman Khimov 2019-09-25 17:52:46 +0300
  • 578ac414d4 core: make unpersisted blocks/txs available in Blockchain Roman Khimov 2019-09-24 18:51:20 +0300
  • 0fb4bb05cf vm: implement HASKEY opcode Evgenii Stratonikov 2019-09-24 15:25:57 +0300
  • c101754c51
    Merge pull request #413 from nspcc-dev/rpc-tests-error-handling Roman Khimov 2019-09-24 20:49:16 +0300
  • 2daff0957a rpc: check for error responses in tests Roman Khimov 2019-09-24 18:47:23 +0300
  • df18da0ac9 vm: implement NEWMAP opcode Evgenii Stratonikov 2019-09-24 15:06:23 +0300