erigon-pulse/common
Kris Shinn f91312dbdb GraphQL master FF for review (#18445)
* Initial work on a graphql API

* Added receipts, and more transaction fields.

* Finish receipts, add logs

* Add transactionCount to block

* Add types  and .

* Update Block type to be compatible with ethql

* Rename nonce to transactionCount in Account, to be compatible with ethql

* Update transaction, receipt and log to match ethql

* Add  query operator, for a range of blocks

* Added ommerCount to Block

* Add transactionAt and ommerAt to Block

* Added sendRawTransaction mutation

* Add Call and EstimateGas to graphQL API

* Refactored to use hexutil.Bytes instead of HexBytes

* Replace BigNum with hexutil.Big

* Refactor call and estimateGas to use ethapi struct type

* Replace ethgraphql.Address with common.Address

* Replace ethgraphql.Hash with common.Hash

* Converted most quantities to Long instead of Int

* Add support for logs

* Fix bug in runFilter

* Restructured Transaction to work primarily with headers, so uncle data is reported properly

* Add gasPrice API

* Add protocolVersion API

* Add syncing API

* Moved schema into its own source file

* Move some single use args types into anonymous structs

* Add doc-comments

* Fixed backend fetching to use context

* Added (very) basic tests

* Add documentation to the graphql schema

* Fix reversion for formatting of big numbers

* Correct spelling error

* s/BigInt/Long/

* Update common/types.go

* Fixes in response to review

* Fix lint error

* Updated calls on private functions

* Fix typo in graphql.go

* Rollback ethapi breaking changes for graphql support
Co-Authored-By: Arachnid <arachnid@notdot.net>
2019-01-21 15:38:13 +01:00
..
bitutil all: remove the duplicate 'the' in annotations (#17509) 2018-08-27 11:49:29 +03:00
compiler common/compiler: capture runtime code and source maps (#18020) 2018-11-08 13:09:25 +01:00
fdlimit all: update license information (#16089) 2018-02-14 13:49:11 +01:00
hexutil GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00
math common: all golint warnings removed (#16852) 2018-06-14 12:52:50 +03:00
mclock les: implement client connection logic (#16899) 2018-08-14 22:44:46 +02:00
prque les: implement client connection logic (#16899) 2018-08-14 22:44:46 +02:00
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes_test.go common: improve IsHexAddress and add tests (#15551) 2017-12-04 19:34:15 +01:00
bytes.go EIP-1186 eth_getProof (#17737) 2018-10-18 21:41:22 +02:00
debug.go core: added basic chain configuration 2016-04-01 01:01:10 +02:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
main_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
size_test.go common: move big integer math to common/math (#3699) 2017-02-26 22:21:51 +01:00
size.go core, trie: intermediate mempool between trie and database (#15857) 2018-02-05 17:40:32 +01:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
types_test.go common: add database/sql support for Hash and Address (#15541) 2018-07-24 15:15:07 +02:00
types.go GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00