Commit Graph

  • 0e20509eab Print test results Adam Schmideg 2020-06-16 15:29:39 +02:00
  • ef5285c543 Liltle cleanup Adam Schmideg 2020-06-16 15:19:54 +02:00
  • eb6a0a7d29 Refactoring discv4 tests to using utesting.T Adam Schmideg 2020-06-16 15:17:29 +02:00
  • 473eb9dcd8 Move tests to a separate file Adam Schmideg 2020-06-16 14:16:19 +02:00
  • f1af8e593c Start discv4Test command Adam Schmideg 2020-06-16 13:54:56 +02:00
  • cd6d34643d Revert bad refactoring changes Adam Schmideg 2020-06-16 13:49:54 +02:00
  • f1524fa90f Re-add test files Adam Schmideg 2020-06-15 14:49:27 +02:00
  • 53dc5033cd Mess up import Adam Schmideg 2020-06-15 14:48:03 +02:00
  • e51b8107f9 Start discv4 test command Adam Schmideg 2020-06-15 14:31:42 +02:00
  • 570a0096d5 Pass waitTime to testenv Adam Schmideg 2020-06-15 13:12:37 +02:00
  • 96e0b5d7af internal/utesting: add test framework for standalone p2p tests Felix Lange 2020-06-15 12:14:56 +02:00
  • 89cd4bde2e Set defaults for enode IP and ports Adam Schmideg 2020-06-15 11:23:10 +02:00
  • 663d40bc5e cmd/devp2p: verify pong information Felix Lange 2020-06-12 17:41:50 +02:00
  • ed209eccbb cmd/devp2p: rework discv4 test suite Felix Lange 2020-06-12 14:03:25 +02:00
  • b7e4e462ce spoofing amplification test Adam Schmideg 2020-06-11 16:20:27 +02:00
  • 4ddfb2810a use net.ListenPacket for spoofing Adam Schmideg 2020-06-11 13:31:55 +02:00
  • 8ce2cf5120 use different local IPs, it breaks stuff! Adam Schmideg 2020-06-10 18:20:04 +02:00
  • c2ae4ed309 spoofing with a relay connection Adam Schmideg 2020-06-10 15:48:52 +02:00
  • 2c493f5328 cleanup Adam Schmideg 2020-06-10 12:37:47 +02:00
  • 56473da725 slean up spoof sanity check Adam Schmideg 2020-06-10 12:35:26 +02:00
  • 62a68ceccc remove unused code Adam Schmideg 2020-06-10 12:26:33 +02:00
  • 9774bac549 spoof sanity check Adam Schmideg 2020-06-10 12:25:21 +02:00
  • 768ac989be Fix some golangci errors Adam Schmideg 2020-06-10 10:55:16 +02:00
  • 652772d000 Don't run test on travis Adam Schmideg 2020-06-10 10:36:00 +02:00
  • aad5b8438a update go.mod Adam Schmideg 2020-06-10 10:34:26 +02:00
  • 88c3ea5e45 Add spoofing - writing fails Adam Schmideg 2020-06-09 12:18:02 +02:00
  • 49de72f7e8 Finished find node tests Adam Schmideg 2020-06-08 16:45:51 +02:00
  • 38852603dd Unbonded find node Adam Schmideg 2020-06-08 16:38:40 +02:00
  • 82e530a710 Unimplemented tests fail Adam Schmideg 2020-06-08 15:56:43 +02:00
  • 98cfb2f7a7 Refactored all current tests to use sendPacket and readPacket Adam Schmideg 2020-06-08 15:54:29 +02:00
  • 03186a0873 sendPacket and readPacket as separate functions Adam Schmideg 2020-06-08 15:38:49 +02:00
  • bf65dbc060 Parse remoteAddr only once Adam Schmideg 2020-06-08 14:26:23 +02:00
  • ebe23206a9 FindNode unsolicited pollution Adam Schmideg 2020-06-08 14:03:45 +02:00
  • e41d66a1e8 sendRequest can either read reply, or not Adam Schmideg 2020-06-08 14:00:07 +02:00
  • 9df93d8f33 flags parsed in TestMain Adam Schmideg 2020-06-08 13:18:38 +02:00
  • 2c68da5cfa Start writing find nodes for recently bonded target Adam Schmideg 2020-06-06 13:54:25 +02:00
  • 393446513c Remove unused testing.T from sendRequest() Adam Schmideg 2020-06-06 13:09:09 +02:00
  • 0785bb4446 Ping with recently bonded target Adam Schmideg 2020-06-06 13:02:58 +02:00
  • 6a79d1c8a9 Configurable timeout Adam Schmideg 2020-06-05 13:44:16 +02:00
  • 5aba2d265e Wrong packet type Adam Schmideg 2020-06-05 13:34:39 +02:00
  • 156b71720e Past expiration test works Adam Schmideg 2020-06-05 13:25:43 +02:00
  • 9eae13e19c Ping with junk and past expiration Adam Schmideg 2020-06-05 13:14:28 +02:00
  • 0b2324c361 Remove SourceUnknown prefix in method names Adam Schmideg 2020-06-05 12:53:22 +02:00
  • 1d02097913 hopefully really make ineffassign go away Adam Schmideg 2020-06-05 12:39:24 +02:00
  • 6c1a47add6 Fix ineffective assignment Adam Schmideg 2020-06-05 12:15:37 +02:00
  • 96ee7d4529 sendRequest Adam Schmideg 2020-06-05 10:53:55 +02:00
  • 0969387d26 Clean up to make golint happy Adam Schmideg 2020-06-04 14:23:29 +02:00
  • 217fc69b20 sendPacket receives reply Adam Schmideg 2020-06-04 13:56:58 +02:00
  • fb01ee63a9 sendPacket can send a good ping Adam Schmideg 2020-06-04 12:39:08 +02:00
  • db0c58edbb sendPacket - it gets sent but the receiving end complains about bad hash Adam Schmideg 2020-06-04 12:03:22 +02:00
  • 26216bc50a sendPacket - not working yet Adam Schmideg 2020-06-03 16:11:53 +02:00
  • 01c14c9f9c encode packet Adam Schmideg 2020-06-03 15:40:47 +02:00
  • e424e241b5 Skeleton of discv4 tests Adam Schmideg 2020-06-03 11:55:45 +02:00
  • 770f06473e
    eth: fix test that sometimes fail on travis Martin Holst Swende 2020-07-07 11:22:39 +02:00
  • e5871b928f
    cmd/clef: Update README with external v6.0.0 & internal v7.0.1 APIs (#21298) chris-j-h 2020-07-07 10:12:38 +01:00
  • 34de7d76c8
    eth/downloader: mark peers who have already delivered as idle when closing statesync Martin Holst Swende 2020-07-07 09:59:37 +02:00
  • 1e17a3bc32 miner : remove downloader failed evnet for miner ucwong 2020-07-07 12:59:23 +08:00
  • bbde950210 move yoloV1 after EIP blocks in config Ian Norden 2020-07-06 23:42:31 -05:00
  • 6d8e51ab88
    cmd, node: dump empty value config (#21296) gary rong 2020-07-07 04:09:30 +08:00
  • 06b8f68611 cmd/clef: Update README with external v6.0.0 & internal v7.0.1 APIs Changes include: * Updates response docs for account_new, account_list, account_signTransaction * Removes account_import, account_export docs * Adds account_version docs * Updates request docs for ui_approveListing, ui_approveSignData, ui_showInfo, ui_showError, ui_onApprovedTx * Adds ui_approveNewAccount, ui_onInputRequired docs chris-j-h 2020-07-06 15:59:35 +01:00
  • 9978836b7e
    queuedTs proper naming villanuevawill 2020-07-06 13:16:14 -05:00
  • 782b557ba2 Remove unused files Karl Floersch 2020-07-06 12:18:55 -04:00
  • 45334d9f74
    core/tx_pool: use a ts for each tx in the queue, but only update the heartbeat on promotion or pending replaced villanuevawill 2020-06-17 16:17:21 -06:00
  • 6f8a7f6ffc
    Solves issue#20582. Non-executable transactions should not be evicted on each tick if there are no promote transactions or if a pending/reset empties the pending list. Tests and logging expanded to handle these cases in the future. villanuevawill 2020-05-22 21:15:01 -04:00
  • 0a16c2e9f7 les, light: fix tests rjl493456442 2020-07-06 18:12:34 +08:00
  • 6315b6fcc0
    rlp: reduce allocations for big.Int and byte array encoding (#21291) Felix Lange 2020-07-06 11:17:09 +02:00
  • 1fbb6ef444 unit tests for new basefee and gas target methods Ian Norden 2020-07-06 01:00:50 -05:00
  • 765f39aa7a revert back to using miner defined gas limit; calc baseFee using EIP1559_GAS_TARGET Ian Norden 2020-07-05 14:55:47 -05:00
  • 796f8a5ed9 cmd, eth, les: enable pruning by default rjl493456442 2020-07-06 14:22:02 +08:00
  • 13d1f5692e all: implement GC for light client rjl493456442 2020-05-12 17:02:41 +08:00
  • 2e959683d2 remove per-tx gas limit Ian Norden 2020-07-03 23:30:06 -05:00
  • 9ceeef65fc cmd, node: dump empty value config rjl493456442 2020-07-06 11:25:48 +08:00
  • 05eb4ecda2 Force all txs to be routed through the EM Karl Floersch 2020-07-05 20:10:59 -04:00
  • 2a616cb51d Add the EM/SM to all new states Karl Floersch 2020-07-05 19:35:33 -04:00
  • fa01117498
    build/ci: handle split up listing (#21293) Martin Holst Swende 2020-07-04 20:10:48 +02:00
  • 3fba049e65
    build/ci: handle split up listing Martin Holst Swende 2020-07-04 18:12:29 +02:00
  • 85bd7ecad9 ensure basefee in genesis block is set if eip1559forkblocknumber=0 Ian Norden 2020-07-03 21:58:22 -05:00
  • 28dcf09397 adjustments to get building and tests passing after rebase onto 1.9.15 Ian Norden 2020-07-03 15:27:26 -05:00
  • 790770cf77
    rlp: improve comments Felix Lange 2020-07-04 00:13:20 +02:00
  • 890ffecd86 add guard to backend to get remaining tests passing; temporary while we set EIP1559 params by CLI Ian Norden 2020-05-05 15:15:08 -05:00
  • 3897471493 cli flags must be lowercase and cli help already prints defaults Ian Norden 2020-05-05 13:30:17 -05:00
  • d6b9e222ab make EIP1559 params CLI configurable for testing Ian Norden 2020-05-05 12:59:25 -05:00
  • 86f57ee036 enforce eip1559 gasPrice >= baseFee; update MaxGasEIP1559 to 20 mil Ian Norden 2020-04-30 08:52:15 -05:00
  • fa03286da0 PR review refactoring and bug fix Ian Norden 2020-03-25 01:40:09 -05:00
  • 5d0a9cc393 PR review fixes Ian Norden 2020-02-03 13:44:33 -06:00
  • d7aa9ccf9f misc fixes Ian Norden 2020-02-02 16:49:44 -06:00
  • 8ff850db74 gas oracle work Ian Norden 2020-01-14 16:10:47 -06:00
  • 15e07495cd per-tx gas limit under consensus Ian Norden 2020-01-14 15:25:33 -06:00
  • 177a17e457 enforce per-tx gas limit in tx_pool Ian Norden 2020-01-14 14:35:39 -06:00
  • 8fab6a25f4 fix VerifyEIP1559BaseFee so that ethash engine enforces exact BaseFee value consensus Ian Norden 2020-01-13 14:15:07 -06:00
  • 525f2a3cb7 change TARGET_GASUSED from 8m to 10m Ian Norden 2020-01-13 14:03:25 -06:00
  • 4d414e40c8 gas oracle work Ian Norden 2020-01-10 15:30:04 -06:00
  • 6575396460 fixes after rebase Ian Norden 2020-01-09 16:28:29 -06:00
  • 40ce5bf509 blockchain_test Ian Norden 2019-12-13 07:51:06 -06:00
  • caec005c40 tx_pool_tests and benchmarks for EIP1559 Ian Norden 2019-12-09 14:52:34 -06:00
  • 22b9069142 transaction.Cost() needs to be aware of BaseFee to calculate cost for EIP1559 trxs; tx_list.go needs to use derived GasPrice for EIP1559 transactions and priceHeap needs to be aware of BaseFee to sort by both legacy and EIP1559 prices Ian Norden 2019-12-09 14:52:02 -06:00
  • 23a1a81fb4 mobile feeCap and gasPremium => *BigInt instead of *big.Int; add getter and setter methods Ian Norden 2019-12-06 15:46:34 -06:00
  • 1e2c52c62e begin consensus tests Ian Norden 2019-12-06 14:14:25 -06:00
  • 27e55ff317 IsEWASM after IsEIP1559 forks in config so we don't need EWASM engine for EIP1559 tests; gasPrice in tx needs to not be required Ian Norden 2019-12-06 14:00:20 -06:00
  • 2b2bcf4902 adjust verifyHeaders to validate GasLimit as calculated by new CalcGasLimitAndBaseFee function Ian Norden 2019-12-05 14:20:51 -06:00