plugeth/cmd/geth
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
..
testdata cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
accountcmd_test.go cmd, consensus, core, miner: instatx clique for --dev (#15323) 2017-10-24 13:40:42 +03:00
accountcmd.go cmd: various golint fixes (#16700) 2018-05-09 10:38:03 +03:00
bugcmd.go build: rename swarm deb package to ethereum-swarm; change swarm deb version from 1.8.x to 0.3.x (#16988) 2018-07-30 11:56:40 +03:00
chaincmd.go cmd/geth: typo export -> import (#17703) 2018-09-19 13:29:40 +03:00
config.go GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00
consolecmd_test.go consensus/ethash: move remote agent logic to ethash internal (#15853) 2018-08-03 11:33:37 +03:00
consolecmd.go cmd/geth: fix broken links to JavaScript-Console wiki in cmd line help (#16183) 2018-02-26 11:38:17 +02:00
dao_test.go core/rawdb: separate raw database access to own package (#16666) 2018-05-07 14:35:06 +03:00
genesis_test.go cmd/geth: remove the tail "," from genesis config (#17028) 2018-06-21 10:44:39 +03:00
main.go GraphQL master FF for review (#18445) 2019-01-21 15:38:13 +01:00
misccmd.go build: rename swarm deb package to ethereum-swarm; change swarm deb version from 1.8.x to 0.3.x (#16988) 2018-07-30 11:56:40 +03:00
monitorcmd.go cmd/geth: fix golint issue (#17176) 2018-07-16 10:33:58 +03:00
run_test.go swarm/test: add integration test for 'swarm up' (#14353) 2017-06-21 14:54:23 +02:00
usage.go cmd/geth: update cli copyright years (#18455) 2019-01-16 01:21:50 +02:00