bsc/node
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
..
api.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
config_test.go cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
config.go GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00
defaults.go GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00
doc.go node: documentation typo fix (#17113) 2018-07-03 11:42:18 +03:00
errors.go node: fix instance dir locking and improve error message 2017-08-18 12:14:00 +02:00
node_example_test.go cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
node_test.go p2p, p2p/discover: add signed ENR generation (#17753) 2018-10-12 11:47:24 +02:00
node.go node, rpc: log cleanups in ipc listener function (#18124) 2018-12-10 13:15:03 +02:00
service_test.go node: ensure datadir can be co-inhabited by different instances 2016-09-16 15:24:31 +02:00
service.go cmd, dashboard, log: log collection and exploration (#17097) 2018-07-11 10:59:04 +03:00
utils_test.go node: all golint warnings fixed (#16773) 2018-05-22 10:29:41 +03:00