Commit graph

  • dac1f9367c
    Merge pull request #411 from nspcc-dev/verifywitnesses-logic Roman Khimov 2019-09-24 14:43:26 +0300
  • 8a457ef540 transaction: add a check for createHash() invocation Roman Khimov 2019-09-23 20:26:53 +0300
  • 679e01bd0f core: implement witness verification logic Roman Khimov 2019-09-23 20:13:44 +0300
  • ca9c9be71f vm: add CHECKSIG/VERIFY/CHECKMULTISIG implementations Roman Khimov 2019-09-23 19:54:06 +0300
  • 3bbeb2476e vm: introduce HasFailed() method and use it where appropriate Roman Khimov 2019-09-23 18:46:47 +0300
  • 317dc6c5ed
    Merge pull request #406 from nspcc-dev/fix/fail-on-first-error Roman Khimov 2019-09-23 17:54:08 +0300
  • 3c53beca82 vm: restrict SHL/SHR arguments to -256..256 Evgenii Stratonikov 2019-09-18 14:35:29 +0300
  • 4a8be486f0 vm: do not pop items in OVER Evgenii Stratonikov 2019-09-18 14:24:42 +0300
  • 7cd69ea8e2 vm: truncate length in SUBSTR Evgenii Stratonikov 2019-09-18 14:19:58 +0300
  • 2f9e7ca037
    Merge pull request #405 from nspcc-dev/fix/array-reference-type Roman Khimov 2019-09-23 14:54:32 +0300
  • a88a8e13fc vm: compare Array by reference in EQUAL Evgenii Stratonikov 2019-09-18 14:10:10 +0300
  • 99f1d761ca vm: clone Struct on APPEND Evgenii Stratonikov 2019-09-18 14:03:15 +0300
  • facf34e821
    Merge pull request #409 from nspcc-dev/bolt-sigsegv-logging-fixes Roman Khimov 2019-09-23 12:56:41 +0300
  • ac5d2f94d3 storage: fix BoltDB batched Put() Roman Khimov 2019-09-22 20:11:34 +0300
  • 5a0f08f2c0 network: fix SIGSEGV on unknown message acceptance Roman Khimov 2019-09-22 20:09:55 +0300
  • 4b4bac675b core: don't print persisting errors twice Roman Khimov 2019-09-22 20:08:15 +0300
  • 102c926ef3 core: don't print useless persist messages with nil errors Roman Khimov 2019-09-22 20:06:52 +0300
  • b15d9d1c36
    Merge pull request #408 from nspcc-dev/unexport-things-from-io Vsevolod 2019-09-20 21:24:48 +0300
  • f69adc59ad io: drop getVarStringSize() completely Roman Khimov 2019-09-20 20:01:56 +0300
  • d01b7740e2 io: improve GetVarSize() documentation Roman Khimov 2019-09-20 19:10:13 +0300
  • 6dd37dd076 io: unexport getVarIntSize and getVarStringSize Roman Khimov 2019-09-20 19:08:58 +0300
  • 5e103c7539 CHANGELOG: add one, declare 0.50.0 released v0.50.0 Roman Khimov 2019-09-19 18:04:14 +0300
  • 5cddfe071b
    Merge pull request #403 from nspcc-dev/fix_rpctest Roman Khimov 2019-09-18 23:14:37 +0300
  • 100fee164b unitTest: reworked RPC unit test Vsevolod Brekelov 2019-09-18 18:21:16 +0300
  • 55dfc0bbbc storage: add seek implementation Vsevolod Brekelov 2019-09-18 18:20:41 +0300
  • c68a254eba
    Merge pull request #404 from nspcc-dev/move-user-docs Roman Khimov 2019-09-18 12:50:06 +0300
  • 9faea084e1 ROADMAP: update with current plans Roman Khimov 2019-09-18 12:06:10 +0300
  • 42df4c2f39 vm: update and move README, refs. #339 Roman Khimov 2019-09-18 11:10:53 +0300
  • 9441c5e77b rpc: split README into developer and user parts Roman Khimov 2019-09-18 10:55:39 +0300
  • 778d29f543 compiler: update and move README to the docs folder Roman Khimov 2019-09-17 19:09:02 +0300
  • acb25fb880 cli: move README to docs, refs. #339 Roman Khimov 2019-09-17 19:07:25 +0300
  • cdfa6df402 README: add GoDoc reference Roman Khimov 2019-09-17 18:12:32 +0300
  • cb4be2ae4a storage: drop useless README, refs. #339 Roman Khimov 2019-09-17 17:30:05 +0300
  • 8e75674f30
    Merge pull request #401 from nspcc-dev/refactor_bc_run Vsevolod 2019-09-17 16:26:06 +0300
  • 7b4daed990
    Merge pull request #402 from nspcc-dev/tiny-technical-corrections Roman Khimov 2019-09-17 15:52:48 +0300
  • bd1f70366a crypto: change files mode to 644 (some *.go had exec flags set) Roman Khimov 2019-09-17 15:34:00 +0300
  • aa0c765be9 go.mod/sum: update and tidy Roman Khimov 2019-09-17 15:31:59 +0300
  • adc880d323 blockchain: server runs goroutine instead of blockchain init Vsevolod Brekelov 2019-09-17 15:27:40 +0300
  • 39a024eb03
    Merge pull request #400 from nspcc-dev/move-rw-to-io Roman Khimov 2019-09-17 15:08:15 +0300
  • 5bca4d2313 io: expand panic tests to reach 100% coverage Roman Khimov 2019-09-17 13:20:38 +0300
  • 96618015cd network: implement EncodeBinary() for MerkleBlock Roman Khimov 2019-09-16 19:49:48 +0300
  • d1a4e43c48 io: redo Serializable to return errors in BinReader/BinWriter Roman Khimov 2019-09-16 19:31:49 +0300
  • 0bb8950f89 make TXer and Payload implement Serializable Roman Khimov 2019-09-16 16:11:01 +0300
  • e299a44983 io: drop Size() method from Serializable and associated Roman Khimov 2019-09-16 16:08:00 +0300
  • 56c72b5c67 io: redo GetVarSize for Serializable things Roman Khimov 2019-09-16 15:58:26 +0300
  • 0da9fe6946 io: move size calculator there Roman Khimov 2019-09-16 12:33:53 +0300
  • 5bf00db2c9 io: move BinReader/BinWriter there, redo Serializable with it Roman Khimov 2019-09-16 12:18:13 +0300
  • f01354b5bd core: make TestHeaderEncodeDecode use assert for field comparisons Roman Khimov 2019-09-16 12:07:06 +0300
  • 031a260cb1 util: add tests for BinaryReader/BinaryWriter Roman Khimov 2019-09-15 15:54:53 +0300
  • 72fc880182 util: remove bogus check from BinWriter.WriteVarUint() Roman Khimov 2019-09-15 15:48:20 +0300
  • aacf58c9ab util: add 'constructors' for BinReader/BinWriter Roman Khimov 2019-09-15 14:58:19 +0300
  • 0838948540
    Merge pull request #394 from nspcc-dev/fix/json-tests-bugs Roman Khimov 2019-09-16 19:46:12 +0300
  • c98a626871
    Merge pull request #399 from nspcc-dev/refactor_store Roman Khimov 2019-09-16 18:59:34 +0300
  • 264dfef370 storage: close function Vsevolod Brekelov 2019-09-16 18:52:47 +0300
  • adba9e11ee
    Merge pull request #396 from nspcc-dev/network-reconnections-and-fixes Roman Khimov 2019-09-16 16:57:10 +0300
  • b9ff4d929c network: add getaddr message handling Roman Khimov 2019-09-13 20:38:34 +0300
  • b2530a4c93 network: be more specific on port mismatch error Roman Khimov 2019-09-13 20:32:16 +0300
  • 773ccc2b92 network: allow discoverer to reuse addresses Roman Khimov 2019-09-13 19:51:58 +0300
  • 46dc141c6c network: enlarge address request queue Roman Khimov 2019-09-13 19:50:33 +0300
  • d3bb8ddf8f network: handle errors and connection close more correctly Roman Khimov 2019-09-13 15:36:53 +0300
  • 76c7cff67f network: make node strictly follow handshake procedure Roman Khimov 2019-09-13 15:43:22 +0300
  • c6487423ae network: close connection on disconnect Roman Khimov 2019-09-13 15:41:41 +0300
  • 90e13debe4 network: implement getaddr sends and addr receival Roman Khimov 2019-09-13 12:03:07 +0300
  • 2a49e68d77 network: start worker goroutine for every connection attempts Roman Khimov 2019-09-13 11:59:16 +0300
  • b4e284f301 discovery: make pool management more reliable Roman Khimov 2019-09-12 16:47:08 +0300
  • 85f19936dd network: implement connection retries Roman Khimov 2019-09-12 16:29:50 +0300
  • be6c905e5d network: use and improve discovery mechanism for reconnections Roman Khimov 2019-09-12 16:19:18 +0300
  • b263c97bbb core: add some mechanism to drop bad blocks from cache Roman Khimov 2019-09-12 16:13:08 +0300
  • d2ccc3b017 vm: make REVERSE consume an item from stack Evgenii Stratonikov 2019-09-16 15:46:35 +0300
  • fd264cb06f vm: make REVERSE work with structs Evgenii Stratonikov 2019-09-12 16:54:22 +0300
  • f0426ac2d5 vm: do nothing if SHL/SHR by 0 Evgenii Stratonikov 2019-09-12 12:02:38 +0300
  • 9eca5ee317 vm: convert SIZE argument to bytearray Evgenii Stratonikov 2019-09-12 11:53:11 +0300
  • 9780889239 vm: make NEWARRAY/NEWSTRUCT accept bytearray Evgenii Stratonikov 2019-09-12 11:48:39 +0300
  • 09e197eaf3 vm: make PUSH0 create empty bytearray Evgenii Stratonikov 2019-09-12 11:42:27 +0300
  • 66501f9ef9 vm: make REMOVE consume array from stack Evgenii Stratonikov 2019-09-12 11:32:09 +0300
  • 71cfd14b92 vm: create an array of false items in NEWARRAY/NEWSTRUCT Evgenii Stratonikov 2019-09-12 11:24:10 +0300
  • 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