forked from cerc-io/plugeth
* 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> |
||
|---|---|---|
| .. | ||
| client_example_test.go | ||
| client_test.go | ||
| client.go | ||
| doc.go | ||
| endpoints.go | ||
| errors.go | ||
| http_test.go | ||
| http.go | ||
| inproc.go | ||
| ipc_js.go | ||
| ipc_unix.go | ||
| ipc_windows.go | ||
| ipc.go | ||
| json_test.go | ||
| json.go | ||
| server_test.go | ||
| server.go | ||
| stdio.go | ||
| subscription_test.go | ||
| subscription.go | ||
| types_test.go | ||
| types.go | ||
| utils_test.go | ||
| utils.go | ||
| websocket_test.go | ||
| websocket.go | ||