Commit Graph

54 Commits

Author SHA1 Message Date
Jacek Sieka f45162ef42
Update README.md 2019-03-25 19:07:06 -06:00
Ștefan Talpalaru 77f9bda983 GC-safety for Nimbus (#26) 2019-01-15 15:40:12 +01:00
Ștefan Talpalaru 6309a61e7a add "--threads:on" to tests 2019-01-10 13:18:25 +02:00
Bruno Škvorc 65e89ad7e4
Update README.md 2019-01-02 15:11:03 +01:00
Zahary Karadjov 0c2b891096 Implement some missing JSON serialization routines 2018-12-19 12:56:34 +02:00
Ștefan Talpalaru 5693e706dc
Merge branch 'segfault' 2018-12-18 14:23:39 +01:00
Ștefan Talpalaru f96074fdfb
ValidationResult enum type
- also added as a return for persistBlocks()
2018-12-17 23:35:00 +01:00
andri lim e9facfb9d0 add more receipt helper proc and test 2018-11-28 14:49:05 +02:00
andri lim 623d0e3c2b simplify HashOrStatus serialization 2018-11-28 14:49:05 +02:00
andri lim 37bd1f2628 add test and ci files 2018-11-28 14:49:05 +02:00
andri lim c2cadbd441 modify receipt and log datatype 2018-11-28 14:49:05 +02:00
Zahary Karadjov 2ed5e555d1 Add a forgotten file 2018-11-26 19:17:51 +02:00
Zahary Karadjov ede5e1bb6b Add the base pragma on all methods 2018-10-18 19:42:33 +03:00
Zahary Karadjov 3edbb42fc6 New definitions needed for the LES branch 2018-10-16 02:48:04 +03:00
Zahary Karadjov f32736b61d Deal with the refactoring in status-im/nim-rlp#20 2018-09-26 12:58:10 +03:00
Yuriy Glukhov 2d5ad71e58 One more Tx serialization fix 2018-09-18 19:34:47 +03:00
coffeepots 2abb22988d Change parseAddress to not need strings of full hex length 2018-09-18 16:09:33 +03:00
Zahary Karadjov 1317750e0c Handle the new RLP API for custom field serialization 2018-09-18 14:57:04 +03:00
Yuriy Glukhov 1704c39628
Merge pull request #18 from status-im/tx-address-serialization
Tx address serialization
2018-09-18 10:56:40 +03:00
Zahary Karadjov 4f69b8e2ff Fix the Transaction object serialization issues
This requires the use of the latest compiler from the nimbus branch.
2018-09-17 18:28:15 +03:00
Yuriy Glukhov d1ed8ecc28 Fixed transaction to serialization 2018-09-17 16:20:08 +03:00
Zahary Karadjov 3e721c28b3 Don't use HTTP dependencies in Nimble due to nim-lang/nimble#543 2018-09-15 23:51:35 +03:00
Yuriy Glukhov c0effa77e0
Merge pull request #17 from status-im/eth-address-dollar
Implemented dollar for EthAddress
2018-09-07 11:50:42 +03:00
Yuriy Glukhov 2a077a47d3 Implemented dollar for EthAddress 2018-09-06 20:06:38 +03:00
Yuriy Glukhov 55a2ace087
Merge pull request #16 from status-im/fixed-transaction-sig
Fixed transaction signature for rlp serialization
2018-09-06 13:02:06 +03:00
Yuriy Glukhov cd910f139e Fixed transaction signature for rlp serialization 2018-09-06 12:54:01 +03:00
Jacek Sieka dafe51e733
readme: update license 2018-09-05 12:47:24 -06:00
Yuriy Glukhov 817360720d
Merge pull request #14 from status-im/workaround-ice
Workaround ICE
2018-09-03 15:26:24 +03:00
Yuriy Glukhov 52ce811d96 Workaround ICE 2018-09-03 15:22:00 +03:00
coffeepots 54a815191e Introduces AccountNonce type, applied to Transaction.accountNonce 2018-09-01 16:02:24 +03:00
coffeepots f46bf72725 Update transaction.V to be a range instead of UInt256 2018-08-31 17:17:40 +03:00
Yuriy Glukhov 198c8af0ce Some tweaks to AbstractChainDB 2018-08-29 19:59:13 +03:00
Yuriy Glukhov 85ba10a441
Merge pull request #10 from status-im/whisperidentity
Add WhisperIdentity type
2018-08-24 12:13:46 +03:00
coffeepots 5abb554eb5 Add WhisperIdentity type 2018-08-21 22:19:28 +01:00
Yuriy Glukhov 4604f8fc5e HashOrNum RLP support 2018-08-06 20:16:22 +03:00
Yuriy Glukhov dce32b7d50 Implemented block hash calculation (#7) 2018-08-01 14:41:06 +02:00
Yuriy Glukhov 9fa4865bc5 AbstractDB is inheritable 2018-07-26 23:01:32 +03:00
Zahary Karadjov 7ac5f4b551 more placeholder procs required for the blockchain sync 2018-07-24 00:30:45 +03:00
Zahary Karadjov 859e70cd33 rename a type to avoid a name collision in nimbus's gas_costs module 2018-07-23 13:41:04 +03:00
Zahary Karadjov 6982641d49 abstract procs required for building the ETW wire protocol sample 2018-07-23 00:28:50 +03:00
Zahary Karadjov d6d9491806 some definitions needed for the RLPx-v2 branch 2018-07-09 18:24:36 +03:00
zah d42addf8a5 simplify the code after some additions to nim-stint (#6) 2018-07-04 17:34:19 +02:00
zah 348149e225 Fix the RLP serialization of Stint values (#4)
* Fix the RLP serialization of Stint values

To understand the code, you must know that the RLP spec has some
peculiarities when encoding integers:

1) The zero value must be encoded as an empty list
2) Values below 128 are encoded as a single byte
3) Vaues above 128 must be encoded with the minimum number of bytes
   possible.

* Only positive integers can be encoded to RLP (as defined in the Yellow Paper)
2018-07-04 13:45:21 +02:00
Yuriy Glukhov bc929a8c9d
Merge pull request #3 from status-im/less-modules
Merge the rlp_serialization module in eth_types
2018-06-27 13:14:42 +03:00
Zahary Karadjov 72b1de7c11 Merge the rlp_serialization module in eth_types
Having 'rlp_serialization' and 'eth_types' as separate modules is
too dangerous. It's quite easy for someone to include only the types
module and to invoke the default RLP serialization that doesn't do
the right thing for MDigest and Stint values.

Perhaps, we should remove the default serialization altogether and
leave it only for tuples, but for now the modified module layout here
provides better safety.
2018-06-27 04:05:41 +03:00
Zahary Karadjov 50d1607e80 Change the BlockNumber representation back to UInt256; Nimbus is hard to refactor at the moment 2018-06-26 02:10:45 +03:00
Zahary Karadjov d2d5d56f4f Use int64 for block numbers 2018-06-26 01:39:16 +03:00
Yuriy Glukhov cbfe6ee211
Merge pull request #2 from status-im/more-additions
BlockNumber, rlpHash, utils
2018-05-30 19:11:28 +03:00
Yuriy Glukhov 71e7cb836b BlockNumber, rlpHash, utils 2018-05-30 19:02:12 +03:00
Yuriy Glukhov 7877ae8312 Use GasInt (#1) 2018-05-30 10:31:33 +02:00