aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/receipt.go
Commit message (Collapse)AuthorAgeFilesLines
* core/types: fix cummulative gas bug and legacy decoding testsgary rong2019-04-161-1/+1
|
* core, eth, les, light: scope receipt functionality a bit cleanerPéter Szilágyi2019-04-151-16/+56
|
* core, eth, les, light: store transaction receipts without txHash and gasCostMatthew Halpern2019-04-151-28/+81
|
* core/types: add block location fields to receipt (#17662)Brent2019-03-271-2/+12
| | | | Solves #15210 without changing consensus, in a backwards compatible way, by adding tx inclusion information to the Receipt struct.
* core/types: fix receipt legacy decodingPéter Szilágyi2019-02-281-2/+6
|
* core: remove unnecessary fields in logs, receipts and tx lookups (#17106)gary rong2019-02-211-3/+24
| | | | | | | | | | | | * core: remove unnecessary fields in log * core: bump blockchain database version * core, les: remove unnecessary fields in txlookup * eth: print db version explicitly * core/rawdb: drop txlookup entry struct wrapper
* core/types: convert status type from uint to uint64 (#16784)gary rong2018-05-231-4/+4
|
* core/types: remove String methods from struct types (#16205)Steven Roose2018-04-051-8/+0
| | | | | | Most of these methods did not contain all the relevant information inside the object and were not using a similar formatting type. Moreover, the existence of a suboptimal String method breaks usage with more advanced data dumping tools like go-spew.
* core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-061-0/+13
| | | This commit reduces database I/O by not writing every state trie to disk.
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-031-14/+13
|
* core/types, internal: swap Receipt.Failed to StatusPéter Szilágyi2017-10-021-14/+28
|
* consensus, core, params: rebrand Metro to ByzantiumPéter Szilágyi2017-09-141-1/+1
|
* core/types: encode receipt status in PostState fieldFelix Lange2017-08-251-81/+60
| | | | | | | This fixes a regression where the new Failed field in ReceiptForStorage rejected previously stored receipts. Fix it by removing the new field and store status in the PostState field. This also removes massive RLP hackery around the status field.
* core/types: reject Metro receipts with > 0x01 status bytesPéter Szilágyi2017-08-231-4/+11
|
* core: implement Metropolis EIP 658, receipt status byterjl4934564422017-08-221-15/+29
|
* core, ethclient: implement Metropolis EIP 98 (#14750)Péter Szilágyi2017-07-171-11/+64
| | | Implements ethereum/EIPs#98
* core, core/types: regenerate JSON marshaling, add "hash" to headers (#13868)Felix Lange2017-04-061-7/+7
| | | | | | | | | | * Makefile: fix devtools target * core: regenerate genesis marshaling with fjl/gencodec@cbfa5be5a8a8 * core/types: regenerate marshaling methods with fjl/gencodec@cbfa5be5a8a8 * core/types: add "hash" to JSON headers
* core/types: use gencodec for JSON marshaling codeFelix Lange2017-03-071-66/+12
|
* core/vm: move Log to core/typesFelix Lange2017-01-061-11/+10
| | | | | | | | This significantly reduces the dependency closure of ethclient, which no longer depends on core/vm as of this change. All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too, the constructor simply returned a literal.
* core/types: use package hexutil for JSON handlingFelix Lange2016-11-281-4/+5
|
* core/types: add core type marshal methods tooPéter Szilágyi2016-09-081-0/+15
|
* core/types, core/vm: improve docs, add JSON marshaling methodsFelix Lange2016-08-041-8/+46
| | | | | | | | In this commit, core/types's types learn how to encode and decode themselves as JSON. The encoding is very similar to what the RPC API uses. The RPC API is missing some output fields (e.g. transaction signature values) which will be added to the API in a later commit. Some fields that the API generates are ignored by the decoder methods here.
* core/state, core/types use package rlp for state, receipt serialisationFelix Lange2015-12-181-9/+6
|
* core, eth, trie: fix data races and merge/review issuesPéter Szilágyi2015-10-211-5/+5
|
* core, eth: receipt chain reconstructionPéter Szilágyi2015-10-191-2/+2
|
* core: differentiate receipt concensus and storage decodingPéter Szilágyi2015-10-191-48/+74
|
* cmd/evm, core/vm, test: refactored VM and coreJeffrey Wilcke2015-10-041-7/+7
| | | | | | | | | | | | | | | | | * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`.
* 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
|
* core, eth, rpc: proper gas used. Closes #1417Jeffrey Wilcke2015-07-071-2/+4
| | | | Added some additional backward compatibility code for old receipts
* core, eth, miner, xeth: receipt storage fixJeffrey Wilcke2015-07-041-2/+6
| | | | | * Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See #1042
* core: fixed an issue with storing receiptsobscuren2015-05-281-0/+29
|
* Changed how logs are being recordedobscuren2015-04-081-18/+1
| | | | | | | Logs are now recorded per transactions instead of tossing them out after each transaction. This should also fix an issue with `eth_getFilterLogs` (#629) Also now implemented are the `transactionHash, blockHash, transactionIndex, logIndex` on logs. Closes #654.
* moved state and vm to coreobscuren2015-03-231-1/+1
|
* converted chain managerobscuren2015-03-171-1/+1
|
* updated blockpoolobscuren2015-03-171-18/+18
|
* Moved ethutil => commonobscuren2015-03-161-7/+7
|
* Fixed mining & limited hash powerobscuren2015-02-141-1/+1
|
* Fixed issue in VM where LOG didn't pop anything of the stackobscuren2014-12-051-0/+13
|
* Renamed `chain` => `core`obscuren2014-12-041-0/+68