1. 21 9月, 2021 5 次提交
  2. 20 9月, 2021 4 次提交
  3. 17 9月, 2021 1 次提交
    • S
      core,eth: call frame tracing (#23087) · 40135497
      Sina Mahmoodi 提交于
      
      This change introduces 2 new optional methods; `enter()` and `exit()` for js tracers, and makes `step()` optiona. The two new methods are invoked when entering and exiting a call frame (but not invoked for the outermost scope, which has it's own methods). Currently these are the data fields passed to each of them:
      
          enter: type (opcode), from, to, input, gas, value
          exit: output, gasUsed, error
      
      The PR also comes with a re-write of the callTracer. As a backup we keep the previous tracing script under the name `callTracerLegacy`. Behaviour of both tracers are equivalent for the most part, although there are some small differences (improvements), where the new tracer is more correct / has more information. 
      40135497
  4. 16 9月, 2021 1 次提交
  5. 15 9月, 2021 1 次提交
  6. 14 9月, 2021 1 次提交
  7. 13 9月, 2021 2 次提交
  8. 10 9月, 2021 2 次提交
  9. 08 9月, 2021 1 次提交
  10. 07 9月, 2021 8 次提交
  11. 02 9月, 2021 1 次提交
  12. 31 8月, 2021 4 次提交
  13. 30 8月, 2021 1 次提交
  14. 27 8月, 2021 1 次提交
  15. 26 8月, 2021 7 次提交
    • M
      Revert "eth, internal/ethapi: make RPC block miner field show block sealer... · 62ad17fb
      Martin Holst Swende 提交于
      Revert "eth, internal/ethapi: make RPC block miner field show block sealer correctly (#23312)" (#23466)
      
      This reverts commit 57feabea.
      62ad17fb
    • S
      node: remove dependency on wallet backend packages (#23019) · 108eec3f
      Sina Mahmoodi 提交于
      * accounts: new AddBackends method in manager
      
      * node,cmd/geth: mv accman backend init to cmd/geth
      
      * node,cmd/geth: mv scrypt config downstreawm from node
      
      * accounts: use static buffer size for accman sub chan
      
      minor fix
      
      * accounts,cmd/geth: update accman backends through its event loop
      
      * accounts,node: add comments
      
      * accounts: un-export newBackendEvent
      
      * accounts: use chan instead of wg in newBlockEvent
      
      * node: rename isKeyDirEphem
      
      * accounts,cmd: AddBackends->AddBackend
      
      * accounts: fix potential blocking when adding backend
      108eec3f
    • F
      build: stop publishing deb packages for Ubuntu 20.10 Groovy Gorilla (#23470) · d584e398
      Felix Lange 提交于
      Support for this Ubuntu release has ended on July 22 2021 and
      Launchpad no longer accepts uploads for it.
      d584e398
    • D
      rpc: add BlockNumber.MarshalText (#23324) · 7c4cad06
      Dmitry Zenovich 提交于
      Currently rpc.BlockNumber is marshalled to JSON as a numeric value, which is
      wrong because BlockNumber.UnmarshalJSON() wants it to either be hex-encoded
      or string "earliest"/"latest"/"pending". As a result, the call chain
      
          rpc.BlockNumberOrHashWithNumber(123) -> json.Marshal() -> json.Unmarshal()
      
      fails with error "cannot unmarshal object into Go value of type string".
      7c4cad06
    • B
      cmd/devp2p/internal/ethtest: remove WriteTo method (#23379) · 154b525c
      baptiste-b-pegasys 提交于
      WriteTo is unused, and go vet warns about it because it
      doesn't match the usual signature of the io.WriterTo method.
      154b525c
    • F
      rlp: minor optimizations for slice/array encoding (#23467) · 32c576bd
      Felix Lange 提交于
      As per benchmark results below, these changes speed up encoding/decoding of
      consensus objects a bit.
      
          name                             old time/op    new time/op    delta
          EncodeRLP/legacy-header-8           384ns ± 1%     331ns ± 3%  -13.83%  (p=0.000 n=7+8)
          EncodeRLP/london-header-8           411ns ± 1%     359ns ± 2%  -12.53%  (p=0.000 n=8+8)
          EncodeRLP/receipt-for-storage-8     251ns ± 0%     239ns ± 0%   -4.97%  (p=0.000 n=8+8)
          EncodeRLP/receipt-full-8            319ns ± 0%     300ns ± 0%   -5.89%  (p=0.000 n=8+7)
          EncodeRLP/legacy-transaction-8      389ns ± 1%     387ns ± 1%     ~     (p=0.099 n=8+8)
          EncodeRLP/access-transaction-8      607ns ± 0%     581ns ± 0%   -4.26%  (p=0.000 n=8+8)
          EncodeRLP/1559-transaction-8        627ns ± 0%     606ns ± 1%   -3.44%  (p=0.000 n=8+8)
          DecodeRLP/legacy-header-8           831ns ± 1%     813ns ± 1%   -2.20%  (p=0.000 n=8+8)
          DecodeRLP/london-header-8           824ns ± 0%     804ns ± 1%   -2.44%  (p=0.000 n=8+7)
      
      * rlp: pass length to byteArrayBytes
      
      This makes it possible to inline byteArrayBytes. For arrays, the length is known
      at encoder construction time, so the call to v.Len() can be avoided.
      
      * rlp: avoid IsNil for pointer encoding
      
      It's actually cheaper to use Elem first, because it performs less checks
      on the value. If the pointer was nil, the result of Elem is 'invalid'.
      
      * rlp: minor optimizations for slice/array encoding
      
      For empty slices/arrays, we can avoid storing a list header entry in the
      encoder buffer. Also avoid doing the tail check at encoding time because
      it is already known at encoder construction time.
      32c576bd
    • F
      all: add go:build lines (#23468) · 8a134014
      Felix Lange 提交于
      Generated by go1.17 fmt ./...
      8a134014