- 23 1月, 2019 2 次提交
-
-
由 Martin Holst Swende 提交于
-
由 Elad 提交于
-
- 22 1月, 2019 1 次提交
-
-
由 Elad 提交于
-
- 21 1月, 2019 2 次提交
-
-
由 Kris Shinn 提交于
* 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: NArachnid <arachnid@notdot.net>
-
由 gluk256 提交于
-
- 19 1月, 2019 2 次提交
-
-
由 Viktor Trón 提交于
-
由 holisticode 提交于
-
- 18 1月, 2019 3 次提交
-
-
由 Anton Evangelatov 提交于
-
由 Elad 提交于
-
由 holisticode 提交于
-
- 17 1月, 2019 6 次提交
-
-
由 silence 提交于
receipts may be null for very short time in some condition. For this case, we should not add the null value into cache. Because you will not get the right result if you keep requesting that receipt.
-
由 Ferenc Szabo 提交于
-
由 Ferenc Szabo 提交于
* swarm/network: fix data race in stream.(*Peer).handleOfferedHashesMsg() handleOfferedHashesMsg() contained a data race: - read => in a goroutine, call to c.batchDone() - write => in the main thread, write to c.sessionAt c.batchDone() contained a call to c.AddInterval(). Client was a value receiver for AddInterval. So on c.AddInterval() call the whole client struct got copied (read) while one of its field was modified in handleOfferedHashesMsg() (write). fixes ethersphere/go-ethereum#1086 * swarm/network: simplify some trivial statements
-
由 Elad 提交于
-
由 Péter Szilágyi 提交于
core, light: get rid of the dual mutexes, hard to reason with
-
由 Viktor Trón 提交于
* swarm/network: fix skipped tests related to suggestPeer * swarm/network: rename depth to radius * swarm/network: uncomment assertHealth and improve comments * swarm/network: remove commented code * swarm/network: kademlia suggestPeer algo correction * swarm/network: kademlia suggest peer * simplify suggest Peer code * improve peer suggestion algo * add comments * kademlia testing improvements * assertHealth -> checkHealth (test helper) * testSuggestPeer -> checkSuggestPeer (test helper) * remove testSuggestPeerBug and TestKademliaCase * swarm/network: kademlia suggestPeer cleanup, improved comments * swarm/network: minor comment, discovery test default arg
-
- 16 1月, 2019 9 次提交
-
-
由 Elad 提交于
* cmd/swarm/swarm-snapshot: add binary to create network snapshots * cmd/swarm/swarm-snapshot: refactor and extend tests * p2p/simulations: remove unused triggerChecks func and fix linter * internal/cmdtest: raise the timeout for killing TestCmd * cmd/swarm/swarm-snapshot: add more comments and other minor adjustments * cmd/swarm/swarm-snapshot: remove redundant check in createSnapshot * cmd/swarm/swarm-snapshot: change comment wording * p2p/simulations: revert Simulation.Run from master https://github.com/ethersphere/go-ethereum/pull/1077/files#r247078904 * cmd/swarm/swarm-snapshot: address pr comments * swarm/network/simulations/discovery: removed snapshot write to file * cmd/swarm/swarm-snapshot, swarm/network/simulations: removed redundant connection event check, fixed lint error
-
由 Janoš Guljaš 提交于
fixes: ethersphere/go-ethereum#1117
-
由 Janoš Guljaš 提交于
-
由 Paweł Bylica 提交于
-
由 dragonvslinux 提交于
* Update copyright 2018 -> 2019 * Update copyright 2018 -> 2019
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
params: postpone Constantinople due to net SSTORE reentrancy
-
由 Péter Szilágyi 提交于
-
- 15 1月, 2019 2 次提交
-
-
由 Guillaume Ballet 提交于
-
由 gluk256 提交于
-
- 12 1月, 2019 1 次提交
-
-
由 gluk256 提交于
* swarm/pot: refactored pot.remove(), updated comments * swarm/pot: comments updated
-
- 11 1月, 2019 4 次提交
-
-
由 holisticode 提交于
* swarm/network: eachBin now starts at kaddepth for nn * swarm/network: fix Kademlia.EachBin * swarm/network: fix kademlia.EachBin * swarm/network: correct EachBin implementation according to requirements * swarm/network: less addresses simplified tests * swarm: calc kad depth outside loop in EachBin test * swarm/network: removed printResults * swarm/network: cleanup imports * swarm/network: remove kademlia.EachBin; fix RequestSubscriptions and add unit test * swarm/network/stream: address PR comments * swarm/network/stream: package-wide subscriptionFunc * swarm/network/stream: refactor to kad.EachConn
-
由 Péter Szilágyi 提交于
-
由 gary rong 提交于
* core, eth: fix database version * eth: polish error message
-
由 Ferenc Szabo 提交于
-
- 10 1月, 2019 4 次提交
-
-
由 Guillaume Ballet 提交于
Co-authored-by:
weimumu <934657014@qq.com>
-
由 lash 提交于
* swarm/network: Rename minproxbinsize, add as member of simulation * swarm/network: Deactivate WaitTillHealthy, unreliable pending suggestpeer
-
由 gary rong 提交于
-
由 Viktor Trón 提交于
* swarm/network, swarm/pss: remove isproxbin bool from kad.Each* iterfunc * swarm/network: restore comment and unskip snapshot sync tests
-
- 09 1月, 2019 2 次提交
-
-
由 Janoš Guljaš 提交于
* swarm/storage: fix T.Fatal inside a goroutine * swarm/network/simulation: fix T.Fatal inside a goroutine * swarm/network/stream: fix T.Fatal inside a goroutine * swarm/network/simulation: consistent failures in TestPeerEventsTimeout * swarm/network/simulation: rename sendRunSignal to triggerSimulationRun
-
由 Anton Evangelatov 提交于
-
- 08 1月, 2019 1 次提交
-
-
由 holisticode 提交于
* swarm: completed 1st phase of swap accounting * swarm, p2p/protocols: added stream pricing * swarm/network/stream: gofmt simplify stream.go * swarm: fixed review comments * swarm: used snapshots for swap tests * swarm: custom retrieve for swap (less cascaded requests at any one time) * swarm: addressed PR comments * swarm: log output formatting * swarm: removed parallelism in swap tests * swarm: swap tests simplification * swarm: removed swap_test.go * swarm/network/stream: added prefix space for comments * swarm/network/stream: unit test for prices * swarm/network/stream: don't hardcode price * swarm/network/stream: fixed invalid price check
-
- 07 1月, 2019 1 次提交
-
-
由 Janoš Guljaš 提交于
-