Commit graph

  • bafdb916a0 vm: make PICKITEM accept bytearrays Evgenii Stratonikov 2019-09-12 11:19:25 +0300
  • 1881adabb9 vm: fail if NIP has not enough arguments Evgenii Stratonikov 2019-09-12 11:09:23 +0300
  • 6e4014547d vm: fail if DROP has no argument Evgenii Stratonikov 2019-09-12 11:05:10 +0300
  • 729b7a0b24 vm: fail if ROT has not enough arguments Evgenii Stratonikov 2019-09-12 10:57:55 +0300
  • cf7fbb80ba vm: fail if EQUAL has not enough arguments Evgenii Stratonikov 2019-09-12 10:50:43 +0300
  • d257044298 vm: fail if XTUCK argument is 0 Evgenii Stratonikov 2019-09-12 10:39:54 +0300
  • b21a220712
    Merge pull request #381 from nspcc-dev/add_boltd Roman Khimov 2019-09-14 13:00:52 +0300
  • 2cabd5b274 storage: add boltDB unit tests Vsevolod Brekelov 2019-09-14 10:29:08 +0300
  • bfe5fd538e storage: add boltDB support Vsevolod Brekelov 2019-09-14 10:28:43 +0300
  • cd3d22d150
    Merge pull request #395 from nspcc-dev/fix/append-codegen Roman Khimov 2019-09-13 18:32:55 +0300
  • 56ec097d76 vm: fix codegen for APPEND Evgenii Stratonikov 2019-09-12 17:39:23 +0300
  • 521a707e33 core: don't print contracts in persistBlock() Roman Khimov 2019-09-12 16:12:12 +0300
  • d0ffd165fd
    Merge pull request #393 from nspcc-dev/assorted-db-handling-fixes-and-optimizations Roman Khimov 2019-09-11 22:31:19 +0300
  • 4395cea344 storage: fix reading overlapping hash blocks from the DB Roman Khimov 2019-09-11 20:33:41 +0300
  • 4f60fd3e8e core: optimize persist() for the case when no next block found Roman Khimov 2019-09-11 20:32:30 +0300
  • 7812fb28ea core: optimize blockchain init with existing DB Roman Khimov 2019-09-11 20:28:49 +0300
  • 6855e4e07a
    Merge pull request #392 from nspcc-dev/fix/bug-append Roman Khimov 2019-09-11 19:02:05 +0300
  • 68c6c93980 vm: do not allow APPEND to operate on bytearray Evgenii Stratonikov 2019-09-11 17:08:36 +0300
  • 723dcc6e25 vm: make APPEND push no value on stack Evgenii Stratonikov 2019-09-11 17:05:56 +0300
  • 6f7e565b45
    Merge pull request #389 from nspcc-dev/update-config-seeds Roman Khimov 2019-09-11 15:15:06 +0300
  • 9281348846 config: update mainnet and testnet seed lists Roman Khimov 2019-09-11 15:10:02 +0300
  • 794d375bfd
    Merge pull request #388 from nspcc-dev/substr-left-indexes Roman Khimov 2019-09-11 14:52:48 +0300
  • 8311bda355 vm: harden LEFT and RIGHT implementations against negative indexes Roman Khimov 2019-09-11 12:03:43 +0300
  • 17f3a21e27 vm: harden SUBSTR implementation against bad index/offset values Roman Khimov 2019-09-11 12:00:11 +0300
  • fc1075bf75 vm: protect PUSHDATA from short reads Roman Khimov 2019-09-11 11:52:39 +0300
  • 14c02cb3b1
    Merge pull request #385 from nspcc-dev/vm-contract-invoke-parameters-332-part1 Roman Khimov 2019-09-10 23:55:23 +0300
  • 9193ec45de
    Merge pull request #383 from nspcc-dev/fix_blockchain_test Roman Khimov 2019-09-10 23:53:50 +0300
  • 392a4c4f39 vm/cli: add some convenience heuristic to ease 'run' use Roman Khimov 2019-09-10 19:41:11 +0300
  • c5911c2f10 vm/cli: add support for bool type as 'run' parameter Roman Khimov 2019-09-10 19:30:32 +0300
  • 982bdcd704 vm/cli: make operation mandatory if anything added to run Roman Khimov 2019-09-10 19:22:05 +0300
  • 5bd666b786 vm: return NOP as current instruction for just loaded VM Roman Khimov 2019-09-10 19:17:33 +0300
  • e872b6b421 vm/cli: redo the whole thing using abiosoft/ishell Roman Khimov 2019-09-10 19:11:48 +0300
  • 0f31e7bf7f unitTests: fix for failing test Vsevolod Brekelov 2019-09-10 23:21:26 +0300
  • d51ab52a5e
    Merge pull request #386 from nspcc-dev/drop-go-1.11-support Roman Khimov 2019-09-10 22:55:44 +0300
  • 00a290de07 update minimum supported version of Go to 1.12 Roman Khimov 2019-09-10 20:30:54 +0300
  • 4d7456903b
    Merge pull request #377 from nspcc-dev/config_for_db Roman Khimov 2019-09-10 17:46:31 +0300
  • c6d3313f82
    Merge pull request #382 from nspcc-dev/feature/implicit-stackitem-conversion Roman Khimov 2019-09-10 17:42:40 +0300
  • 31f4c7486b vm: add tests for CAT Evgenii Stratonikov 2019-09-10 17:28:53 +0300
  • 1289d0f7e9 vm: add tests for NOT Evgenii Stratonikov 2019-09-10 14:57:39 +0300
  • f2393e5efc vm: implement * -> Boolean conversion Evgenii Stratonikov 2019-09-10 14:43:40 +0300
  • 7e14c5a274 vm: implement * -> ByteArray conversion Evgenii Stratonikov 2019-09-10 14:38:25 +0300
  • 06ecb1855e storage: redis db unit test Vsevolod Brekelov 2019-09-10 17:22:45 +0300
  • 4f680703a4 storage: multiple DB support and Redis support Vsevolod Brekelov 2019-09-10 17:22:21 +0300
  • 9b10b4c4d8 vm: add tests for SIGN Evgenii Stratonikov 2019-09-10 14:19:52 +0300
  • 52b0d661e0 vm: implement BigInt -> Boolean conversion Evgenii Stratonikov 2019-09-10 14:19:36 +0300
  • 33bb371f9b
    Merge pull request #380 from nspcc-dev/drop-endpoint-fix-321 Roman Khimov 2019-09-09 19:39:49 +0300
  • 8d9bc83214 util: drop Endpoint structure, fix #321 Roman Khimov 2019-09-09 17:54:38 +0300
  • 0055701ec0
    Merge pull request #379 from nspcc-dev/fix/left-with-big-index Roman Khimov 2019-09-09 17:39:59 +0300
  • 0b58ed4a22 vm: do not fault on LEFT with big index Evgenii 2019-09-09 17:05:40 +0300
  • a039ae6cdb
    Merge pull request #374 from nspcc-dev/makefile-and-gofmt Roman Khimov 2019-09-09 15:05:12 +0300
  • b5d3c37a01
    Merge pull request #375 from nspcc-dev/pushbytes-short-read-fix-361 Roman Khimov 2019-09-09 15:02:56 +0300
  • c59b51e7ab
    Merge pull request #376 from nspcc-dev/use-mr-tron-base58-fix-355 Roman Khimov 2019-09-09 15:02:24 +0300
  • bd2e347928 circleci: add Go 1.13 support, use as a reference for coverage Roman Khimov 2019-09-09 14:55:49 +0300
  • b8b26d8e79 core: fix 'implementation' misspell in test code Roman Khimov 2019-09-09 11:25:58 +0300
  • 8db9d2a976 crypto: use mr-tron/base58 for base58 Roman Khimov 2019-09-09 13:09:46 +0300
  • a2a8981979 vm: fix not failing PUSHBYTES* on short read Roman Khimov 2019-09-09 12:07:03 +0300
  • fabd11699a *: gofmt -s Roman Khimov 2019-09-09 11:23:27 +0300
  • 90469399d7 Makefile: declare our targets as PHONY Roman Khimov 2019-09-09 11:19:57 +0300
  • 8de080f6ec Makefile: add some convenience targets Roman Khimov 2019-09-09 11:11:49 +0300
  • 450063de7d
    Merge pull request #362 from nspcc-dev/add-missing-opcodes-into-the-list Roman Khimov 2019-09-09 11:24:39 +0300
  • 7b0c2781d2 vm: expand instruction list with commands from current VM spec Roman Khimov 2019-09-06 19:16:58 +0300
  • 726245c1ec
    Merge pull request #360 from nspcc-dev/feature/struct2array Roman Khimov 2019-09-08 18:38:42 +0300
  • bcc8234155 vm: implement Array <-> Struct conversion Evgenii 2019-09-06 19:00:04 +0300
  • 8fac66d4af
    Merge pull request #371 from nspcc-dev/fix-some-todo-items Roman Khimov 2019-09-07 15:35:36 +0300
  • 8c448ab890 util: add some tests to make GetVarSize() fully covered Roman Khimov 2019-09-07 10:28:00 +0300
  • 7e8dc9ad66 vm: uncomment TestForLoopBigIter Roman Khimov 2019-09-07 10:10:11 +0300
  • 1c7d203993 compiler: drop TODO comment, #294 was fixed a while ago Roman Khimov 2019-09-07 10:09:42 +0300
  • 8169edf04c vm: expand PUSHBYTES instructions Roman Khimov 2019-09-06 18:33:16 +0300
  • dd357c9119
    Merge pull request #357 from nspcc-dev/complete-vm-array-instructions Roman Khimov 2019-09-06 19:13:03 +0300
  • aefe572df3 vm: implement UNPACK, REVERSE, REMOVE opcodes Roman Khimov 2019-09-06 11:32:20 +0300
  • f362ffcf3c
    Merge pull request #358 from nspcc-dev/drop-redundant-dev-code-part-8 Roman Khimov 2019-09-06 18:54:30 +0300
  • d4d1c79546 _pkg.dev: drop vm Roman Khimov 2019-09-06 15:02:18 +0300
  • 5bd50c7bcd vm: add some tests for PACK instruction Roman Khimov 2019-09-06 10:33:43 +0300
  • 0feaaabe61
    Merge pull request #356 from nspcc-dev/add-vm-string-instructions Roman Khimov 2019-09-06 13:14:44 +0300
  • b3ed3d24ee vm: implement CAT, SUBSTR, LEFT and RIGHT Roman Khimov 2019-09-06 09:12:19 +0300
  • c899ec3038
    Merge pull request #354 from nspcc-dev/some-vm-opcodes-and-fixes Roman Khimov 2019-09-05 19:55:50 +0300
  • 3f40334979 vm: add generic stub for all unimplemented instructions Roman Khimov 2019-09-05 17:32:34 +0300
  • 59de72f446 vm: implement INVERT instruction Roman Khimov 2019-09-05 17:20:53 +0300
  • b494e094c0 vm: add XDROP implementation Roman Khimov 2019-09-05 16:42:54 +0300
  • 974f5db6bc vm: add a TUCK implementation with tests Roman Khimov 2019-09-05 16:34:35 +0300
  • eb224aeebe vm: add some checks for OVER and PICK, add OVER tests Roman Khimov 2019-09-05 15:57:44 +0300
  • 85831e3e92 vm: fix XTUCK implementation, add tests Roman Khimov 2019-09-05 15:43:59 +0300
  • 5f0f9e1638 vm: implement PICK instruction Roman Khimov 2019-09-05 15:18:04 +0300
  • b34a1b6c25 vm: harden tests against VM failures Roman Khimov 2019-09-05 15:07:56 +0300
  • fcf9c1213b vm: implement the NZ opcode Roman Khimov 2019-09-05 15:05:44 +0300
  • bcd81bcfb2
    Merge pull request #352 from nspcc-dev/drop-bad-crypto-fix-245 Roman Khimov 2019-09-05 13:18:17 +0300
  • e537dc9ee4 keys: improve publick key checks with a check against P Roman Khimov 2019-09-05 12:31:03 +0300
  • f12194f3b0 keys: deduplicate DecodeBytes/DecodeBinary for PrivateKey Roman Khimov 2019-09-05 11:58:34 +0300
  • 2c3e92923f keys: simplify error handling for PublicKey() and associated Roman Khimov 2019-09-05 09:35:02 +0300
  • 60bc2e8053 keys: simplify PublicKey() for PrivateKey Roman Khimov 2019-09-05 08:44:08 +0300
  • f0fbe9f6c9 crypto: drop home-grown elliptic crypto, use crypto/elliptic Roman Khimov 2019-09-05 00:12:39 +0300
  • 0b884b92b3 crypto: use PrivateKey to generate a key pair Roman Khimov 2019-09-04 23:03:25 +0300
  • 1ffda460bd
    Merge pull request #351 from nspcc-dev/drop-redundant-dev-code-part-7 Roman Khimov 2019-09-04 19:53:56 +0300
  • 1af97a7a87
    Update README.md fabwa 2019-09-04 18:19:22 +0200
  • cea983acc6 _pkg.dev: drop peer/peermgr/syncmgr Roman Khimov 2019-09-04 15:30:04 +0300
  • 441f1d3bf5 _pkg.dev: drop chain package Roman Khimov 2019-09-04 12:12:02 +0300
  • e636537844
    Merge pull request #340 from nspcc-dev/fix-golint-213 Roman Khimov 2019-09-03 19:54:29 +0300
  • 2c2f91564f rpc: comment out getBlock and getRawTransaction Roman Khimov 2019-09-03 18:25:19 +0300
  • 6bfcc615b2 *: fix some misspellings Roman Khimov 2019-09-03 18:20:05 +0300
  • 22bea5eccf core: remove ineffective assignment from test code Roman Khimov 2019-09-03 18:17:44 +0300