aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/block_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core: add database/sql support for more types (#102)Meng-Ying Yang2019-04-091-7/+86
| | | | | | | | | * core: types: add database/sql support for BlockNonce * common: add database/sql support with Big New Big type is declared to let big.Int support database/sql by implementing Scan() and Value() on new type.
* dex: fix testsWei-Ning Huang2019-04-091-0/+2
|
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-04-091-2/+2
|
* all: simplify timestamps to uint64 (#19372)Martin Holst Swende2019-04-081-1/+1
| | | | | | | | | | | | | | * all: simplify timestamps to uint64 * tests: update definitions * clef, faucet, mobile: leftover uint64 fixups * ethash: fix tests * graphql: update schema for timestamp * ethash: remove unused variable
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-031-3/+3
|
* accounts, core, crypto, internal: use normalised V during signature handling ↵Péter Szilágyi2017-01-051-1/+1
| | | | | | | | | (#3455) To address increasing complexity in code that handles signatures, this PR discards all notion of "different" signature types at the library level. Both the crypto and accounts package is reduced to only be able to produce plain canonical secp256k1 signatures. This makes the crpyto APIs much cleaner, simpler and harder to abuse.
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-1/+6
|
* internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940)bas-vk2016-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | This commit includes several API changes: - The behavior of eth_sign is changed. It now accepts an arbitrary message, prepends the well-known string \x19Ethereum Signed Message:\n<length of message> hashes the result using keccak256 and calculates the signature of the hash. This breaks backwards compatability! - personal_sign(hash, address [, password]) is added. It has the same semantics as eth_sign but also accepts a password. The private key used to sign the hash is temporarily unlocked in the scope of the request. - personal_recover(message, signature) is added and returns the address for the account that created a signature.
* Add tests for uncle timestamps and refactor timestamp typeGustav Simonsson2015-08-251-1/+1
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Use uint64 for block header timestampGustav Simonsson2015-06-301-1/+1
|
* core/types: make transactions immutableFelix Lange2015-06-301-15/+4
|
* Changed R S to big int and fixed testsobscuren2015-04-051-2/+2
|
* core/types: use package rlp instead of common.DecodeFelix Lange2015-03-181-8/+49
|
* converted vmobscuren2015-03-171-3/+2
|
* block conversionobscuren2015-03-171-0/+19
|
* added nil checkobscuren2015-01-021-22/+0
|
* Refactored block & Transactionobscuren2014-12-231-0/+23
* Includes new rlp decoder