Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eth/gasprice: improve stability of estimated price #22722

Merged
merged 13 commits into from
Apr 28, 2021

Conversation

GregTheGreek
Copy link
Contributor

@GregTheGreek GregTheGreek commented Apr 22, 2021

This addresses #22715

Yesterday some of our software started estimating really low gasPrices which was presumably associated to miners accepting tx's with a lower gasPrice (mev?).

This PR introduces a few changes to the gas price oracle (gpo) package.

  • Filters gasPrices based on the standard deviation from the mean
  • Increases the blocks sampled from 2 (30s) -> 20(5mins)

Note:
I chose the 3rd deviation rather arbitrarly, with the goal to capture almost everything except the really far out ones. I chose a higher block sample which mimics what OpenEthereum does (I know), because our software that was using OE successfully estimated an accurate gasPrice.

@GregTheGreek
Copy link
Contributor Author

GregTheGreek commented Apr 23, 2021

Commit e617d50 fixes a failing test due to the new calculations but I'm concerned that it doesn't make sense for it to equal 1 GWEI based on the deterministic gas values values. I'll look into it further tomorrow.

Copy link
Member

@rjl493456442 rjl493456442 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few nitpicks, otherwise lgtm!

eth/gasprice/gasprice.go Outdated Show resolved Hide resolved

res := removeOutliers(cpy)
// It should remove most of the higher values
if len(cpy) < len(res) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't len(cpy) < len(res) always false?

eth/gasprice/gasprice_test.go Outdated Show resolved Hide resolved
cpy = append(cpy, big.NewInt(2))
res := removeOutliers(cpy)
// It should remove most of the higher values
if len(cpy) < len(res) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't len(cpy) < len(res) always false?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

answering for both comments.

In theory yes, assuming the function operates correctly, I could switch to deterministic values instead ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean even the outliers are not filtered out, the len(res) should be 0. And len(cpy) < len(res) can't be true in any case.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these tests should use len(gasPrices) != len(res) for the error check. Just like TestRemoveLowOutliers

@rjl493456442
Copy link
Member

I am wondering should we firstly filter out all 0 gasprice transactions? In theory because of the MEV a bunch of zero-price transactions can be included. Why not just filter out them first?

@holiman
Copy link
Contributor

holiman commented Apr 23, 2021

I am wondering should we firstly filter out all 0 gasprice transactions? In theory because of the MEV a bunch of zero-price transactions can be included. Why not just filter out them first?

I agree. If a block comes in which contains only MEV transactions + the miners own gastoken-minting + the miners own pool payouts, it can be basically all 0-gasprice. I don't think we should include those in the gas oracle. Regardless of how we set the bands for the deviation, a sufficiently large section of 0-priced transactions will corrupt the oracle.

@fjl fjl changed the title Enhance: Gas Price Oracle eth/gasprice: improve stability of estimated price Apr 23, 2021
@GregTheGreek
Copy link
Contributor Author

I've filtered out the 0 gas transactions, still trying to think of a better way test case for simple unit test

@GregTheGreek
Copy link
Contributor Author

Not sure how to handle the AppVeyor failure, seems like some file system permission issues?

sum.Add(sum, price)
}
mean = big.NewInt(0).Div(sum, length)
// Calculate variance (sum(x - mean)^2 )/ length
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// Calculate variance (sum((x - mean)^2)/ length) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops this is old.

@junderw
Copy link

junderw commented Apr 26, 2021

  • ACK removing 0 gasprice from sample

Could someone try running this on a large chunk of previous blocks and plotting it out against the current (pre-PR) oracle?

I'd be interested to see if this actually decreases the occurrence of sudden dips and rises.

@holiman
Copy link
Contributor

holiman commented Apr 26, 2021

I did a little experiment. I exported the real blocks from the issue linked above, using this js:

function exportPrices(start, end){
	var result = {}
	for (var num = start; num <= end; num++){
		var block = eth.getBlock(num)
		var blockprices = []
		block.transactions.forEach(function(hash){ 
			var tx = eth.getTransaction(hash)
			if (tx.from != block.miner){
				blockprices.push(tx.gasPrice)
			}
		})
		if (blockprices.length > 0) { result[num] = blockprices }
	}
	console.log(JSON.stringify(result))
}

exportPrices(12290300, 12290900) // mainnet

Then I printed out the prices, sorting them and showing the smallest three (because 3 is the samplenumber in the gpo).

Block 12290300: [149000000000 149000000000 149000000000]
Block 12290301: [0 0 149000000000]
Block 12290302: [1 1 149000000000]
Block 12290303: [149000000000 149000000000 149000000000]
Block 12290304: [163900000000 163900000000 163900000000]
Block 12290305: [152000000000 153000000000 153000000000]
Block 12290306: [0 0 10000000000]
Block 12290307: [0 149000000000 162800000000]
Block 12290308: [0 0 152000000000]
Block 12290309: [1000000000 1000000000 1000000000]
Block 12290310: [149000000000 149000000000 149000000000]
Block 12290311: [149000000000 149000000000 149000000000]
Block 12290312: [149000000000 149000000000 149000000000]
Block 12290313: [149000000000 149000000000 149000001347]
Block 12290314: [0 0 121000000000]
Block 12290315: [0 10000000000 108000001347]
Block 12290316: [149000000000 149000000000 149000000000]
Block 12290317: [1 1 148000000000]
Block 12290318: [147000000000 147000000000 147000000000]
Block 12290319: [146000000000 146000000000 146000000000]
Block 12290320: [0 0 149000000000]
Block 12290321: [0 0 0]
Block 12290322: [0 10000000000 10000000000]
Block 12290323: [163900000000 163900000000 163900000000]
Block 12290324: [152000000000 152000000000 152000000000]
Block 12290325: [10000000000 149000000000 149000000000]
Block 12290326: [1000000000 1000000000 1000000000]
Block 12290327: [0 1 1]
Block 12290328: [0 0 149000000000]
Block 12290329: [0 0 149000000000]
Block 12290330: [149000000000 149000000000 149000000000]
Block 12290331: [10000000000 163000000000 163000000000]
Block 12290332: [149000000000 149000000000 149000000000]
Block 12290333: [5500000000 5500000000 5500000000]
Block 12290334: [148000000000 148000001459 148000001459]
Block 12290335: [115000000000 115000000000 149000000000]
Block 12290336: [152000000000 152000000000 153267750000]
Block 12290337: [1 1 149000000000]
Block 12290338: [147000000000 147000000000 147000000000]
Block 12290339: [145200000000 145714285714 146000000000]
Block 12290340: [0 0 10000000000]
Block 12290341: [173000000000 173000000000 173000000000]
Block 12290342: [1000000000 1000000000 1000000000]
Block 12290343: [1000000000 1000000000 162000000000]
Block 12290344: [160600000000 160600000000 161000000000]
Block 12290345: [152000000000 152000000000 152000000000]
Block 12290346: [149000000000 149000000000 149000000000]
Block 12290347: [0 1 1]
Block 12290348: [148000001459 148000001459 148000001459]
Block 12290349: [148000001459 148000001459 148000001459]
Block 12290350: [148000001459 148000001459 148000001459]
Block 12290351: [1000000000 1000000000 148000000000]
Block 12290352: [147000000729 147000001459 147000001459]
Block 12290353: [0 120000000000 149000000000]
Block 12290354: [1000000000 1000000000 148000001459]
Block 12290355: [158000000000 159000000000 159000000000]
Block 12290356: [149000000000 149000000000 149000000000]
Block 12290358: [10000000000 10000000000 148000001459]
Block 12290359: [0 0 148000000000]
Block 12290360: [146000001459 147000000000 147000000000]
Block 12290361: [147000000000 147000000000 147000000000]
Block 12290362: [143598580425 143844604383 143850000000]
Block 12290363: [149000001459 149000001459 149000001459]
Block 12290364: [162000000000 162605095233 162800000000]
Block 12290365: [148000001459 148000001459 148000001459]
Block 12290366: [0 0 143265000000]
Block 12290367: [141000000000 141000000000 141000000000]
Block 12290368: [0 0 141000000000]
Block 12290369: [159000000000 160000000000 160600000000]
Block 12290370: [148000001459 148000001459 148000001459]
Block 12290371: [141000000000 141000000000 141000000000]
Block 12290372: [0 108000001347 140000000000]
Block 12290373: [193000000000 193700000000 195000000000]
Block 12290374: [0 0 164000000000]
Block 12290375: [162800001604 163000000000 163000000000]
Block 12290376: [159000000000 159000000000 159375000000]
Block 12290377: [1000000000 1000000000 149000000000]
Block 12290378: [0 0 148000001459]
Block 12290379: [148000001459 148000001459 148000001459]
Block 12290380: [148000000000 148000000000 148000000000]
Block 12290381: [1 1 10000000000]
Block 12290382: [170000000000 170000000000 170000000000]
Block 12290383: [170000000000 170500000000 171000000000]
Block 12290384: [162800001604 162800001604 162800001604]
Block 12290385: [0 0 10000000000]
Block 12290386: [148000001459 148000001459 148000001459]
Block 12290387: [156000000000 156000000000 156140001539]
Block 12290388: [147000000000 147000000000 147000000000]
Block 12290389: [0 0 10000000000]
Block 12290390: [1000000000 1000000000 167000000000]
Block 12290391: [1000000000 1000000000 1000000000]
Block 12290392: [0 0 10000000000]
Block 12290393: [150000000000 150000000000 150000000000]
Block 12290394: [0 0 10000000000]
Block 12290395: [0 1 1]
Block 12290396: [146000000000 146000000000 146000000000]
Block 12290397: [148000000000 148000001459 148000001459]
Block 12290398: [10000000000 10000000000 145000000000]
Block 12290399: [0 0 141000000000]
Block 12290400: [141000000000 141000000000 141000000000]
Block 12290401: [141000000000 141000000000 141000000000]
Block 12290402: [141000000000 141000000000 141000000000]
Block 12290403: [148000000000 148000001459 149000001459]
Block 12290404: [1000000000 1000000000 1000000000]
Block 12290405: [10000000000 141000000000 141000000000]
Block 12290406: [141000000000 141000000000 141000000000]
Block 12290407: [0 0 141000000000]
Block 12290408: [139285714286 139285714286 139400000000]
Block 12290409: [1000000000 1000000000 1000000000]
Block 12290410: [0 10000000000 155000000000]
Block 12290411: [0 0 143000000000]
Block 12290412: [1000000000 1000000000 1000000000]
Block 12290413: [141000000000 141000000000 141000000000]
Block 12290414: [0 10000000000 167085000000]
Block 12290415: [144000000000 144000000000 144000000000]
Block 12290416: [141000000000 141000000000 141000000000]
Block 12290417: [141000000000 141000000000 141000000000]
Block 12290418: [141000000000 141000000000 141000000000]
Block 12290419: [141000000000 141000000000 141000000000]
Block 12290420: [0 0 137940000000]
Block 12290421: [136321020000 136400000000 136400000000]
Block 12290422: [130900000000 131000000000 131000000000]
Block 12290423: [0 0 0]
Block 12290424: [211500000000 245973000000 358800000000]
Block 12290425: [0 0 141000000000]
Block 12290426: [0 0 10000000000]
Block 12290427: [1000000000 1000000000 1000000000]
Block 12290428: [155100000000 156000001459 157000000000]
Block 12290429: [141000000000 141000000000 141000000000]
Block 12290430: [0 0 141000000000]
Block 12290431: [140000000000 141000000000 141000000000]
Block 12290432: [444400000000 574000000000 574000000000]
Block 12290433: [251000000000 252000001459 302500000000]
Block 12290434: [0 10000000000 141000000000]
Block 12290435: [225600000000 236551000000 248300000000]
Block 12290436: [300000000000 300000000000 444400000000]
Block 12290437: [0 0 160000000000]
Block 12290438: [6000000000 10000000000 10000000000]
Block 12290439: [202000000000 203000000000 204000000000]
Block 12290440: [0 0 10000000000]
Block 12290441: [181000000000 181220000000 182600000000]
Block 12290442: [170000000000 170000000000 170000000000]
Block 12290443: [170000000000 170000000000 170000000000]
Block 12290444: [190000000000 190000000000 190740000000]
Block 12290445: [187000000000 187000000000 187000000000]
Block 12290446: [1000000000 1000000000 156000000000]
Block 12290447: [0 161000001459 161000001459]
Block 12290448: [10000000000 155000000000 155000000000]
Block 12290449: [142000000000 142000001459 142000001459]
Block 12290450: [141000000000 141000000000 141000000000]
Block 12290451: [141000000000 141000000000 141000000000]
Block 12290452: [142000001459 147000000000 148000000000]
Block 12290453: [170000000000 170000000000 170000000000]
Block 12290454: [141000000000 141000000000 141000000000]
Block 12290455: [0 0 141000000000]
Block 12290456: [135000000000 135000000000 136000000000]
Block 12290457: [127000000000 127000000000 127000000000]
Block 12290458: [125430000000 125430000000 126000000000]
Block 12290459: [0 99000000000 123000001123]
Block 12290460: [0 122000000000 122000000000]
Block 12290461: [121000001604 121000001604 121000001604]
Block 12290462: [121000000000 121000000000 121000000000]
Block 12290463: [120000000000 120000000000 120000001347]
Block 12290464: [119790000000 119790000000 119790000000]
Block 12290465: [118000000000 118000000000 118000000000]
Block 12290466: [1000000000 1000000000 1000000000]
Block 12290467: [128000000000 129000000000 131000000000]
Block 12290468: [115000000000 115000000000 115000000000]
Block 12290469: [0 0 145000000000]
Block 12290470: [0 0 0]
Block 12290471: [0 171000000000 181000000000]
Block 12290472: [160000000000 161000000000 161000000000]
Block 12290473: [0 0 128000000000]
Block 12290474: [0 144000000000 144100000000]
Block 12290475: [161000000000 161000001459 161000001459]
Block 12290476: [157000000000 158000000000 158000000000]
Block 12290477: [141000000000 141000000000 141000001459]
Block 12290478: [10000000000 10000000000 10000000000]
Block 12290479: [131000000000 131000000000 131000000000]
Block 12290480: [134200000000 134200000000 135000000000]
Block 12290481: [131000000000 132000000000 132000001459]
Block 12290482: [127000000000 127000000000 127000000000]
Block 12290483: [125430000000 125430000000 125430000000]
Block 12290484: [123000000000 123000000000 123000001123]
Block 12290485: [122000000000 122000000000 122000000000]
Block 12290486: [0]
Block 12290487: [1000000000 1000000000 1000000000]
Block 12290488: [0 0 10000000000]
Block 12290489: [158000000000 159375000000 160000000000]
Block 12290490: [128000000000 129000000000 131000000000]
Block 12290491: [0 0 10000000000]
Block 12290493: [117000000000 117000001459 117000001459]
Block 12290494: [115000000000 115000000000 115000000000]
Block 12290495: [161000000000 162000000000 167000000000]
Block 12290496: [0 0 131000000000]
Block 12290497: [1000000000 1000000000 114000000000]
Block 12290498: [10000000000 10000000000 131000000000]
Block 12290499: [116000001459 116000001459 117000000000]
Block 12290500: [0 0 144000000000]
Block 12290501: [0 0 0]
Block 12290502: [0 0 129000000000]
Block 12290503: [156000000000 158000000000 158000000000]
Block 12290504: [0 1000000000 1000000000]
Block 12290505: [0 0 0]
Block 12290506: [1000000000 1000000000 132000001459]
Block 12290507: [0 0 10000000000]
Block 12290508: [153000000000 153214286918 154000000000]
Block 12290509: [0 0 127600001604]
Block 12290510: [1000000000 1000000000 150000000000]
Block 12290511: [1000000000 126000000000 126000000000]
Block 12290512: [0 0 10000000000]
Block 12290513: [0 0 124000000000]
Block 12290514: [0 116000001459 123000000000]
Block 12290515: [132000000000 132000000233 133000000000]
Block 12290516: [10000000000 122850000000 123000000000]
Block 12290517: [10000000000 10000000000 127600001604]
Block 12290518: [1000000000 1000000000 120000000000]
Block 12290519: [117000000000 117000000000 117000000000]
Block 12290520: [123000000000 123900000233 123900000233]
Block 12290521: [0 0 126000000000]
Block 12290522: [191000000000 191000000000 191000000000]
Block 12290523: [0 0 10000000000]
Block 12290524: [0 0 169000000001]
Block 12290525: [0 145000000000 155100000000]
Block 12290526: [141900000000 142000000000 142000000000]
Block 12290527: [0 0 120000000000]
Block 12290528: [158000000000 161000001459 161000001459]
Block 12290529: [132000000000 132000000000 132000000000]
Block 12290530: [0 0 117000000000]
Block 12290531: [0 0 128000000000]
Block 12290532: [177000000000 178500000000 179000000000]
Block 12290533: [0 0 120000000000]
Block 12290534: [0 0 117000000000]
Block 12290535: [0 0 0]
Block 12290536: [126000000000 126000000000 126000000000]
Block 12290537: [124000000000 124000000000 124000000000]
Block 12290538: [123000000000 123000000000 123000000000]
Block 12290539: [1000000000 1000000000 1000000000]
Block 12290540: [0 0 172700000000]
Block 12290541: [0 0 0]
Block 12290542: [154000000000 154285714286 155000000000]
Block 12290543: [163000000000 165770000000 166000000000]
Block 12290544: [147000000000 148000000000 148000000000]
Block 12290545: [137000000000 137000000000 137000000000]
Block 12290546: [0 10000000000 10000000000]
Block 12290547: [132000000000 134000000000 134000000000]
Block 12290548: [126480000000 127000000000 127000000000]
Block 12290549: [124000000000 124000000000 124000000000]
Block 12290550: [1000000000 1000000000 123900000233]
Block 12290551: [117000000000 117000000000 117000000000]
Block 12290552: [1000000000 1000000000 123000000000]
Block 12290553: [120000000000 120000000000 120000000000]
Block 12290554: [117000001561 118000000000 118000000000]
Block 12290555: [117000000000 117000000000 117000000000]
Block 12290556: [116000001459 116000001459 116000001459]
Block 12290557: [116000000000 116000001347 116000001459]
Block 12290558: [1000000000 1000000000 1000000000]
Block 12290559: [125000000000 126000000000 126000000000]
Block 12290560: [0 0 117000001459]
Block 12290561: [150000000000 150000000000 151000000000]
Block 12290562: [0 0 124000000000]
Block 12290563: [123000000000 123000000000 123000000000]
Block 12290564: [125000000000 125000000000 126000000000]
Block 12290565: [1000000000 117000000000 123000000000]
Block 12290566: [1000000000 1000000000 119000000000]
Block 12290567: [153214285714 155100000000 155100000000]
Block 12290568: [0 0 154000000000]
Block 12290569: [10000000000 10000000000 135300000000]
Block 12290570: [135000000000 135000000000 135000000000]
Block 12290571: [1000000000 1000000000 1000000000]
Block 12290572: [0 0 123000000000]
Block 12290573: [123000000000 123000000000 123000000000]
Block 12290574: [123000000000 123000000000 123000000000]
Block 12290575: [130900000000 130900000000 132000000000]
Block 12290576: [0 120000000000 123000000000]
Block 12290577: [122000000000 122000000000 122000000000]
Block 12290578: [119000000000 119000000000 119000000000]
Block 12290579: [147000000000 149000000000 149000000000]
Block 12290580: [0 0 10000000000]
Block 12290581: [123000000000 123000000001 123000001459]
Block 12290582: [0 0 1000000000]
Block 12290583: [166260000000 170000000000 170000000000]
Block 12290584: [0 0 123000000000]
Block 12290585: [0 0 0]
Block 12290586: [142000000000 142000000000 142000000000]
Block 12290587: [0 0 140000000000]
Block 12290588: [1000000000 1000000000 1000000000]
Block 12290589: [137000000000 137000000000 137500000000]
Block 12290590: [1000000000 1000000000 133000000000]
Block 12290591: [128000000000 128700000233 128760001619]
Block 12290592: [0 0 123000000000]
Block 12290593: [123000001347 124000000000 124000000000]
Block 12290594: [123000000000 123000000000 123000000000]
Block 12290595: [123000000000 123000000000 123000000000]
Block 12290596: [123000000000 123000000000 123000000000]
Block 12290597: [1000000000 1000000000 123000000000]
Block 12290598: [153750000000 156000000000 157058000000]
Block 12290599: [0 0 136000000000]
Block 12290600: [0 0 0]
Block 12290601: [123000000000 123000001347 124000000000]
Block 12290602: [123000000000 123000000000 123000000000]
Block 12290603: [154000000000 158694091045 159000000000]
Block 12290604: [1000000000 1000000000 130000000000]
Block 12290605: [0 0 123000000000]
Block 12290606: [123000000000 123000000000 123000000000]
Block 12290607: [10000000000 123000000000 123000000000]
Block 12290608: [123000000000 123000000000 123000000000]
Block 12290609: [135300000000 135300000000 135300000000]
Block 12290610: [123000000000 123000000000 123000000000]
Block 12290611: [123000000000 123000000000 123000000000]
Block 12290612: [10000000000 10000000000 165000000000]
Block 12290613: [155000000000 155000001459 155000001459]
Block 12290614: [154000000000 154000000000 155000000000]
Block 12290615: [1000000000 1000000000 1000000000]
Block 12290616: [1 1 135000000000]
Block 12290617: [0 0 135300000000]
Block 12290618: [0 0 135300000000]
Block 12290619: [1 10000000000 10000000000]
Block 12290620: [0 0 123000000000]
Block 12290621: [126000000000 126000000000 126000000000]
Block 12290622: [123000000000 123000000000 123000000000]
Block 12290623: [0 0 123000000000]
Block 12290624: [0 0 0]
Block 12290625: [123000000000 123000000000 123000000000]
Block 12290626: [1000000000 1000000000 1000000000]
Block 12290627: [0 0 123000000000]
Block 12290628: [123000000000 123000000000 123000000000]
Block 12290629: [0 0 123000000000]
Block 12290630: [123000000000 123000000000 123000000000]
Block 12290631: [139000000000 140000000000 140000001459]
Block 12290632: [0 0 0]
Block 12290633: [123000000000 123000000000 123000000000]
Block 12290634: [0 0 0]
Block 12290635: [1 1 10000000000]
Block 12290636: [0 0 135000000000]
Block 12290637: [132000000000 132000000000 132000000000]
Block 12290638: [126500000000 126500000000 126690000000]
Block 12290639: [10000000000 123000001347 124000000000]
Block 12290640: [123000000000 123000000000 123000000000]
Block 12290641: [123000000000 123000000000 123000000000]
Block 12290642: [1000000000 123000000000 123000000000]
Block 12290643: [123000000000 123000000000 123000000000]
Block 12290644: [1 1 135300000000]
Block 12290645: [127000000000 127738349315 127738349315]
Block 12290646: [123000000000 123000000000 123000000000]
Block 12290647: [123000000000 123000000000 123000000000]
Block 12290648: [123000000000 123000000000 123000000000]
Block 12290649: [0 10000000000 123000000000]
Block 12290650: [123000000000 123000000000 123000000000]
Block 12290651: [123000000000 123000000000 123000000000]
Block 12290652: [0 0 123000000000]
Block 12290653: [120000000000 120000000000 120000000000]
Block 12290654: [142000000000 142000000000 143000001347]
Block 12290655: [0]
Block 12290656: [137000000000 137500000000 137500000000]
Block 12290657: [0 108900000000 129000000000]
Block 12290658: [0 125000000000 125000000000]
Block 12290659: [123000000000 123000000000 123000000000]
Block 12290660: [143910000000 143910000000 145000000000]
Block 12290661: [0 0 148000000000]
Block 12290662: [0 0 10000000000]
Block 12290663: [135000000000 135000000000 135000000000]
Block 12290664: [1000000000 1000000000 1000000000]
Block 12290665: [10000000000 133000000000 134000001459]
Block 12290666: [0 135000000000 135000000000]
Block 12290667: [0 10000000000 129000000000]
Block 12290668: [126000000000 126000000000 126000000000]
Block 12290669: [135300000000 135300000000 136000000000]
Block 12290670: [145000000000 146300000000 147000000000]
Block 12290671: [0 0 10000000000]
Block 12290672: [151000000000 151000000000 151000000000]
Block 12290673: [0 0 10000000000]
Block 12290674: [141900000000 141900000000 141900000000]
Block 12290675: [0 0 0]
Block 12290676: [0 0 123000000000]
Block 12290677: [0 0 10000000000]
Block 12290678: [136000000000 136000000729 136000001347]
Block 12290679: [134000001459 134000001459 134000001459]
Block 12290680: [1 1 134000001459]
Block 12290681: [0 0 129000000000]
Block 12290682: [133000000000 133000001459 133100000233]
Block 12290683: [0 0 123000000000]
Block 12290684: [129000000000 129000000000 129000000000]
Block 12290685: [0 0 126000000000]
Block 12290686: [0 10000000000 155000000000]
Block 12290687: [0 1 1]
Block 12290688: [126000000000 126000000000 126000000000]
Block 12290689: [0 126000000000 126000000000]
Block 12290690: [123000001347 123000001347 123000001347]
Block 12290691: [0 0 123000000000]
Block 12290692: [123000000000 123000000000 123000000000]
Block 12290693: [0 0 10000000000]
Block 12290694: [1000000000 1000000000 141900000000]
Block 12290695: [0 0 145000000000]
Block 12290696: [135000000000 135000000000 135000000000]
Block 12290697: [0 10000000000 10000000000]
Block 12290698: [0 123000001347 134000000000]
Block 12290699: [128346881351 129000000000 129000000000]
Block 12290700: [126000000000 126000000000 126000000000]
Block 12290701: [0 0 10000000000]
Block 12290702: [0 0 123000001347]
Block 12290703: [0 147000000000 147400001604]
Block 12290704: [1000000000 1000000000 1000000000]
Block 12290705: [123000001347 123000001347 123000001347]
Block 12290706: [0 0 123000001347]
Block 12290707: [123000001347 123000001347 123000001347]
Block 12290708: [123000000000 123000000000 123000001347]
Block 12290709: [0 123000000000 123000000000]
Block 12290710: [146000000000 147000000000 148000000000]
Block 12290711: [131000000000 131000000000 132000000000]
Block 12290712: [123000000000 123000000000 123000000000]
Block 12290713: [0 0 123000000000]
Block 12290714: [1000000000 149000000000 152000001459]
Block 12290715: [113000000000 113000000000 113000000000]
Block 12290716: [167000000000 167000000000 167000000000]
Block 12290717: [1000000000 1000000000 1000000000]
Block 12290718: [0 126690001387 135000000000]
Block 12290719: [135300001481 138000000000 138000001347]
Block 12290720: [0 0 123000001347]
Block 12290721: [0 10000000000 10000000000]
Block 12290722: [0 123000001347 144100000000]
Block 12290723: [0 0 140800000000]
Block 12290724: [0 123000001347 135300001481]
Block 12290725: [0 0 10000000000]
Block 12290726: [0 123000001347 153750001683]
Block 12290727: [146000000000 146000000000 146000000000]
Block 12290728: [136000000000 136000000000 136000001459]
Block 12290729: [0 0 135000000000]
Block 12290730: [0 123000001347 132000000000]
Block 12290731: [171000000000 171000000000 171000000000]
Block 12290732: [155000000000 155000000000 156000000000]
Block 12290733: [139359001525 139359001525 140000000000]
Block 12290734: [139359001525 139359001525 139359001525]
Block 12290735: [0 0 131000000000]
Block 12290736: [129150001414 129765001421 129765001421]
Block 12290737: [1000000000 126690001387 128000000000]
Block 12290738: [127000000000 127000000000 127000000000]
Block 12290739: [0 126690001387 126690001387]
Block 12290740: [126690001387 126690001387 126690001387]
Block 12290741: [1000000000 1000000000 135300000233]
Block 12290742: [136000000000 137550000000 138000000000]
Block 12290743: [157000000000 158100000000 159000000000]
Block 12290744: [142000000000 143000000000 144000000000]
Block 12290745: [1000000000 1000000000 1000000000]
Block 12290746: [145000000000 145000000000 145000000000]
Block 12290747: [136000001459 136000001459 136000001459]
Block 12290748: [136000000000 136000000000 136000000000]
Block 12290749: [0 0 10000000000]
Block 12290750: [131690001387 132000000000 132000000000]
Block 12290751: [129000000000 130000000000 130000000000]
Block 12290752: [1000000000 1000000000 1000000000]
Block 12290753: [128000000000 129000000000 129000000000]
Block 12290754: [0 0 126690001387]
Block 12290755: [0 0 142000000000]
Block 12290756: [149000000000 149000000000 149000000000]
Block 12290757: [136000000000 136000000000 136000000000]
Block 12290758: [0 1 1]
Block 12290759: [131650000846 132000000000 132000000000]
Block 12290760: [0 0 10000000000]
Block 12290761: [0 0 136000000000]
Block 12290762: [0 0 137000000000]
Block 12290763: [136000000000 136000000000 136000000000]
Block 12290764: [0 0 10000000000]
Block 12290765: [139000000000 161000001459 162000000000]
Block 12290766: [0 0 10000000000]
Block 12290767: [155000000000 155000000000 155000000000]
Block 12290768: [0 0 154000000000]
Block 12290769: [149000000000 149000000000 149000000000]
Block 12290770: [170100000000 172000000000 172000000000]
Block 12290771: [0 0 145000000000]
Block 12290772: [146000000000 146300000000 146520000000]
Block 12290773: [0 0 10000000000]
Block 12290774: [144000000000 144000000000 144000000000]
Block 12290775: [0 144000000000 144000000000]
Block 12290777: [137500000000 138600000000 138600000000]
Block 12290778: [1000000000 1000000000 132000000000]
Block 12290779: [1000000000 1000000000 135960000000]
Block 12290780: [0 0 123000001347]
Block 12290781: [1000000000 1000000000 1000000000]
Block 12290782: [0 0 123000001347]
Block 12290783: [132000000000 132000000000 132000000000]
Block 12290784: [132000000000 132000000000 132000000000]
Block 12290785: [0 0 141900000000]
Block 12290786: [1 1 137000000000]
Block 12290787: [124000000000 124000000000 124000000000]
Block 12290788: [152460000000 152900000000 153000000000]
Block 12290789: [1000000000 1000000000 145000000000]
Block 12290790: [139000001459 139000001459 140000000000]
Block 12290791: [138000000000 138000001459 138600000000]
Block 12290792: [0 0 123000001347]
Block 12290793: [0 115000000000 137000000000]
Block 12290794: [10000000000 10000000000 10000000000]
Block 12290795: [136000000000 136000000000 136000000000]
Block 12290796: [135000000000 135299996057 135300000233]
Block 12290797: [132000000000 132000000000 132000000000]
Block 12290798: [1000000000 1000000000 1000000000]
Block 12290799: [126690001387 126690001387 126690001387]
Block 12290800: [0 139000000000 139000000000]
Block 12290801: [0 0 10000000000]
Block 12290802: [0 132000000000 133000000000]
Block 12290803: [0]
Block 12290804: [0 0 10000000000]
Block 12290805: [132000000000 132000000000 132000000000]
Block 12290806: [124000000000 124000000000 124000000000]
Block 12290807: [1000000000 1000000000 1000000000]
Block 12290808: [0 10000000000 150700013708]
Block 12290809: [0 0 132000000000]
Block 12290810: [0 0 10000000000]
Block 12290811: [133000000000 133000000000 133000000000]
Block 12290812: [0 132000000000 132000000000]
Block 12290813: [125000000000 126000000000 127000000001]
Block 12290814: [128998099999 130000000000 131690001387]
Block 12290815: [0 0 0]
Block 12290816: [0 0 10000000000]
Block 12290817: [130000000000 130000000000 130000000000]
Block 12290818: [124000000000 124000000000 124000000000]
Block 12290819: [124000000000 124000000000 124000000000]
Block 12290820: [0 0 0]
Block 12290821: [0 0 130000000000]
Block 12290822: [1000000000 1000000000 1000000000]
Block 12290823: [130000000000 130000000000 130000000000]
Block 12290824: [0 0 130000000000]
Block 12290825: [150000000000 151200000000 151800000000]
Block 12290826: [134000000000 134000000000 134000000000]
Block 12290827: [0 0 0]
Block 12290828: [129000000000 129000000000 129000000000]
Block 12290829: [0 0 124000000000]
Block 12290830: [148000000000 148800000000 148800000000]
Block 12290831: [1000000000 1000000000 1000000000]
Block 12290832: [1000000000 127000000001 127000001459]
Block 12290833: [126000000000 126000000000 126000000000]
Block 12290834: [124000000000 124000000000 124000000000]
Block 12290835: [1000000000 1000000000 1000000000]
Block 12290836: [0 0 10000000000]
Block 12290837: [125500000000 126000000000 127000000000]
Block 12290838: [0 124000000000 124000000000]
Block 12290839: [1 1 123000001347]
Block 12290840: [123000001347 123000001347 123000001347]
Block 12290841: [123000001347 123000001347 123000001347]
Block 12290842: [123000001347 123000001347 123000001347]
Block 12290843: [123000001123 123000001123 123000001123]
Block 12290844: [138000000000 138050000000 138600000000]
Block 12290845: [10000000000 10000000000 129000000000]
Block 12290846: [125000001459 125000001459 125000001459]
Block 12290847: [0 0 144000000000]
Block 12290848: [1000000000 1000000000 136400000000]
Block 12290849: [0 0 0]
Block 12290850: [0 0 1000000000]
Block 12290851: [126000000000 126000000000 126000000000]
Block 12290852: [157000000000 157000000000 157000000000]
Block 12290853: [1000000000 1000000000 138000000000]
Block 12290854: [1000000000 1000000000 127000000000]
Block 12290855: [130000000000 132000000000 132000000000]
Block 12290856: [0 135000000000 135000000000]
Block 12290857: [0 0 10000000000]
Block 12290858: [0 0 124000000000]
Block 12290859: [1000000000 1000000000 124000000000]
Block 12290860: [124000000000 124000000000 124000000000]
Block 12290861: [0 0 141900000000]
Block 12290862: [1000000000 1000000000 142000000000]
Block 12290863: [142000000000 142000000000 142000000000]
Block 12290864: [1000000000 1000000000 1000000000]
Block 12290865: [128000000000 128000000000 128000000000]
Block 12290866: [0 0 135300000000]
Block 12290867: [127000001459 127000001459 127720000000]
Block 12290868: [124000000000 125000000000 125000001459]
Block 12290869: [124000000000 124000000000 124000000000]
Block 12290870: [138000000000 138600000000 138600000000]
Block 12290871: [124000000000 124000000000 124000000000]
Block 12290872: [1000000000 1000000000 155000000000]
Block 12290873: [133000000000 133985000000 135300001481]
Block 12290874: [0 0 10000000000]
Block 12290875: [132000000000 133000000000 133000000000]
Block 12290876: [128000001459 129000000000 129000000000]
Block 12290877: [0 0 136000000000]
Block 12290878: [1000000000 1000000000 127000000000]
Block 12290879: [125000001459 125000001459 125000001459]
Block 12290880: [153016000000 153016000000 153214287158]
Block 12290881: [0 137500001604 138000000000]
Block 12290882: [127000001459 127000001459 128000000000]
Block 12290883: [1000000000 1000000000 1000000000]
Block 12290884: [124000000000 124000000000 124000000000]
Block 12290885: [0 0 127000000000]
Block 12290886: [153000000000 153000000001 153000000001]
Block 12290887: [134000000000 134000000000 135000000000]
Block 12290888: [127000001459 127720000000 127720000000]
Block 12290889: [0 127000001459 127000001459]
Block 12290892: [0 0 1]
Block 12290893: [127000001459 127000001459 127000001459]
Block 12290894: [1000000000 1000000000 128525147330]
Block 12290895: [125000001459 125000001459 125000001459]
Block 12290896: [124000000000 124000000000 124000000000]
Block 12290897: [155000000000 155000000000 156000000000]
Block 12290898: [0 127000001459 137000000000]
Block 12290899: [1000000000 1000000000 1000000000]
Block 12290900: [142875001642 144100000000 145000000000]

Doing so, two things become obvioius: it's the 0 and 1-priced transactions which are messing up the data. If we simply remove those, we get

Block 12290300: [149000000000 149000000000 149000000000]
Block 12290301: [149000000000 149000000000 149000000000]
Block 12290302: [149000000000 149000000000 149000000000]
Block 12290303: [149000000000 149000000000 149000000000]
Block 12290304: [163900000000 163900000000 163900000000]
Block 12290305: [152000000000 153000000000 153000000000]
Block 12290306: [10000000000 149000000000 149000000000]
Block 12290307: [149000000000 162800000000 163000000000]
Block 12290308: [152000000000 152000000000 153000000000]
Block 12290309: [1000000000 1000000000 1000000000]
Block 12290310: [149000000000 149000000000 149000000000]
Block 12290311: [149000000000 149000000000 149000000000]
Block 12290312: [149000000000 149000000000 149000000000]
Block 12290313: [149000000000 149000000000 149000001347]
Block 12290314: [121000000000 151000000000 151000000000]
Block 12290315: [10000000000 108000001347 149000000000]
Block 12290316: [149000000000 149000000000 149000000000]
Block 12290317: [148000000000 148000000000 148000000000]
Block 12290318: [147000000000 147000000000 147000000000]
Block 12290319: [146000000000 146000000000 146000000000]
Block 12290320: [149000000000 151000000000 152000000000]
Block 12290321: [158000000000 193000000000 193000000000]
Block 12290322: [10000000000 10000000000 149000000000]
Block 12290323: [163900000000 163900000000 163900000000]
Block 12290324: [152000000000 152000000000 152000000000]
Block 12290325: [10000000000 149000000000 149000000000]
Block 12290326: [1000000000 1000000000 1000000000]
Block 12290327: [149000000000 149000000000 149000000000]
Block 12290328: [149000000000 149000000000 149000000000]
Block 12290329: [149000000000 149000000000 149000000000]
Block 12290330: [149000000000 149000000000 149000000000]
Block 12290331: [10000000000 163000000000 163000000000]
Block 12290332: [149000000000 149000000000 149000000000]
Block 12290333: [5500000000 5500000000 5500000000]
Block 12290334: [148000000000 148000001459 148000001459]
Block 12290335: [115000000000 115000000000 149000000000]
Block 12290336: [152000000000 152000000000 153267750000]
Block 12290337: [149000000000 149000000000 149000000000]
Block 12290338: [147000000000 147000000000 147000000000]
Block 12290339: [145200000000 145714285714 146000000000]
Block 12290340: [10000000000 146000000000 188000001459]
Block 12290341: [173000000000 173000000000 173000000000]
Block 12290342: [1000000000 1000000000 1000000000]
Block 12290343: [1000000000 1000000000 162000000000]
Block 12290344: [160600000000 160600000000 161000000000]
Block 12290345: [152000000000 152000000000 152000000000]
Block 12290346: [149000000000 149000000000 149000000000]
Block 12290347: [1100000233 10000000000 10000000000]
Block 12290348: [148000001459 148000001459 148000001459]
Block 12290349: [148000001459 148000001459 148000001459]
Block 12290350: [148000001459 148000001459 148000001459]
Block 12290351: [1000000000 1000000000 148000000000]
Block 12290352: [147000000729 147000001459 147000001459]
Block 12290353: [120000000000 149000000000 149000000000]
Block 12290354: [1000000000 1000000000 148000001459]
Block 12290355: [158000000000 159000000000 159000000000]
Block 12290356: [149000000000 149000000000 149000000000]
Block 12290358: [10000000000 10000000000 148000001459]
Block 12290359: [148000000000 148000000000 148000000000]
Block 12290360: [146000001459 147000000000 147000000000]
Block 12290361: [147000000000 147000000000 147000000000]
Block 12290362: [143598580425 143844604383 143850000000]
Block 12290363: [149000001459 149000001459 149000001459]
Block 12290364: [162000000000 162605095233 162800000000]
Block 12290365: [148000001459 148000001459 148000001459]
Block 12290366: [143265000000 143560001415 143570000000]
Block 12290367: [141000000000 141000000000 141000000000]
Block 12290368: [141000000000 141000000000 141000000000]
Block 12290369: [159000000000 160000000000 160600000000]
Block 12290370: [148000001459 148000001459 148000001459]
Block 12290371: [141000000000 141000000000 141000000000]
Block 12290372: [108000001347 140000000000 140000000000]
Block 12290373: [193000000000 193700000000 195000000000]
Block 12290374: [164000000000 165000000000 165000000000]
Block 12290375: [162800001604 163000000000 163000000000]
Block 12290376: [159000000000 159000000000 159375000000]
Block 12290377: [1000000000 1000000000 149000000000]
Block 12290378: [148000001459 148000001459 148000001459]
Block 12290379: [148000001459 148000001459 148000001459]
Block 12290380: [148000000000 148000000000 148000000000]
Block 12290381: [10000000000 10000000000 10000000000]
Block 12290382: [170000000000 170000000000 170000000000]
Block 12290383: [170000000000 170500000000 171000000000]
Block 12290384: [162800001604 162800001604 162800001604]
Block 12290385: [10000000000 10000000000 143500000729]
Block 12290386: [148000001459 148000001459 148000001459]
Block 12290387: [156000000000 156000000000 156140001539]
Block 12290388: [147000000000 147000000000 147000000000]
Block 12290389: [10000000000 146150000000 146410000000]
Block 12290390: [1000000000 1000000000 167000000000]
Block 12290391: [1000000000 1000000000 1000000000]
Block 12290392: [10000000000 10000000000 148000001459]
Block 12290393: [150000000000 150000000000 150000000000]
Block 12290394: [10000000000 148000001459 148000001459]
Block 12290395: [148000001459 148000001459 148000001459]
Block 12290396: [146000000000 146000000000 146000000000]
Block 12290397: [148000000000 148000001459 148000001459]
Block 12290398: [10000000000 10000000000 145000000000]
Block 12290399: [141000000000 141000000000 141000000000]
Block 12290400: [141000000000 141000000000 141000000000]
Block 12290401: [141000000000 141000000000 141000000000]
Block 12290402: [141000000000 141000000000 141000000000]
Block 12290403: [148000000000 148000001459 149000001459]
Block 12290404: [1000000000 1000000000 1000000000]
Block 12290405: [10000000000 141000000000 141000000000]
Block 12290406: [141000000000 141000000000 141000000000]
Block 12290407: [141000000000 141000000000 141000000000]
Block 12290408: [139285714286 139285714286 139400000000]
Block 12290409: [1000000000 1000000000 1000000000]
Block 12290410: [10000000000 155000000000 155000000000]
Block 12290411: [143000000000 144000000000 144000000000]
Block 12290412: [1000000000 1000000000 1000000000]
Block 12290413: [141000000000 141000000000 141000000000]
Block 12290414: [10000000000 167085000000 168000000000]
Block 12290415: [144000000000 144000000000 144000000000]
Block 12290416: [141000000000 141000000000 141000000000]
Block 12290417: [141000000000 141000000000 141000000000]
Block 12290418: [141000000000 141000000000 141000000000]
Block 12290419: [141000000000 141000000000 141000000000]
Block 12290420: [137940000000 138000000000 138000000000]
Block 12290421: [136321020000 136400000000 136400000000]
Block 12290422: [130900000000 131000000000 131000000000]
Block 12290423: [128000000000 128000000000 128100000000]
Block 12290424: [211500000000 245973000000 358800000000]
Block 12290425: [141000000000 276150000000 372000000000]
Block 12290426: [10000000000 10000000000 190900000000]
Block 12290427: [1000000000 1000000000 1000000000]
Block 12290428: [155100000000 156000001459 157000000000]
Block 12290429: [141000000000 141000000000 141000000000]
Block 12290430: [141000000000 141000000000 141000000000]
Block 12290431: [140000000000 141000000000 141000000000]
Block 12290432: [444400000000 574000000000 574000000000]
Block 12290433: [251000000000 252000001459 302500000000]
Block 12290434: [10000000000 141000000000 237551000000]
Block 12290435: [225600000000 236551000000 248300000000]
Block 12290436: [300000000000 300000000000 444400000000]
Block 12290437: [160000000000 300000000000 340000000000]
Block 12290438: [6000000000 10000000000 10000000000]
Block 12290439: [202000000000 203000000000 204000000000]
Block 12290440: [10000000000 187500000000 187500000000]
Block 12290441: [181000000000 181220000000 182600000000]
Block 12290442: [170000000000 170000000000 170000000000]
Block 12290443: [170000000000 170000000000 170000000000]
Block 12290444: [190000000000 190000000000 190740000000]
Block 12290445: [187000000000 187000000000 187000000000]
Block 12290446: [1000000000 1000000000 156000000000]
Block 12290447: [161000001459 161000001459 161000001459]
Block 12290448: [10000000000 155000000000 155000000000]
Block 12290449: [142000000000 142000001459 142000001459]
Block 12290450: [141000000000 141000000000 141000000000]
Block 12290451: [141000000000 141000000000 141000000000]
Block 12290452: [142000001459 147000000000 148000000000]
Block 12290453: [170000000000 170000000000 170000000000]
Block 12290454: [141000000000 141000000000 141000000000]
Block 12290455: [141000000000 141000000000 141000000000]
Block 12290456: [135000000000 135000000000 136000000000]
Block 12290457: [127000000000 127000000000 127000000000]
Block 12290458: [125430000000 125430000000 126000000000]
Block 12290459: [99000000000 123000001123 123000001347]
Block 12290460: [122000000000 122000000000 122000001459]
Block 12290461: [121000001604 121000001604 121000001604]
Block 12290462: [121000000000 121000000000 121000000000]
Block 12290463: [120000000000 120000000000 120000001347]
Block 12290464: [119790000000 119790000000 119790000000]
Block 12290465: [118000000000 118000000000 118000000000]
Block 12290466: [1000000000 1000000000 1000000000]
Block 12290467: [128000000000 129000000000 131000000000]
Block 12290468: [115000000000 115000000000 115000000000]
Block 12290469: [145000000000 147000000000 147000000000]
Block 12290470: [191000000000 191000000000 191000000000]
Block 12290471: [171000000000 181000000000 181650000000]
Block 12290472: [160000000000 161000000000 161000000000]
Block 12290473: [128000000000 156200000000 156400000000]
Block 12290474: [144000000000 144100000000 144100000000]
Block 12290475: [161000000000 161000001459 161000001459]
Block 12290476: [157000000000 158000000000 158000000000]
Block 12290477: [141000000000 141000000000 141000001459]
Block 12290478: [10000000000 10000000000 10000000000]
Block 12290479: [131000000000 131000000000 131000000000]
Block 12290480: [134200000000 134200000000 135000000000]
Block 12290481: [131000000000 132000000000 132000001459]
Block 12290482: [127000000000 127000000000 127000000000]
Block 12290483: [125430000000 125430000000 125430000000]
Block 12290484: [123000000000 123000000000 123000001123]
Block 12290485: [122000000000 122000000000 122000000000]
Block 12290487: [1000000000 1000000000 1000000000]
Block 12290488: [10000000000 122000000000 122000000000]
Block 12290489: [158000000000 159375000000 160000000000]
Block 12290490: [128000000000 129000000000 131000000000]
Block 12290491: [10000000000 122000000000 122000000000]
Block 12290493: [117000000000 117000001459 117000001459]
Block 12290494: [115000000000 115000000000 115000000000]
Block 12290495: [161000000000 162000000000 167000000000]
Block 12290496: [131000000000 147000000000 147400000000]
Block 12290497: [1000000000 1000000000 114000000000]
Block 12290498: [10000000000 10000000000 131000000000]
Block 12290499: [116000001459 116000001459 117000000000]
Block 12290500: [144000000000 144000000000 144000000000]
Block 12290501: [139000000000 139700000000 140000000000]
Block 12290502: [129000000000 156000000000 158000000000]
Block 12290503: [156000000000 158000000000 158000000000]
Block 12290504: [1000000000 1000000000 1000000000]
Block 12290505: [123000001123 137973000000 137973000000]
Block 12290506: [1000000000 1000000000 132000001459]
Block 12290507: [10000000000 10000000000 129000000000]
Block 12290508: [153000000000 153214286918 154000000000]
Block 12290509: [127600001604 127600001604 127600001604]
Block 12290510: [1000000000 1000000000 150000000000]
Block 12290511: [1000000000 126000000000 126000000000]
Block 12290512: [10000000000 10000000000 10000000000]
Block 12290513: [124000000000 124000000000 124000000000]
Block 12290514: [116000001459 123000000000 123000000000]
Block 12290515: [132000000000 132000000233 133000000000]
Block 12290516: [10000000000 122850000000 123000000000]
Block 12290517: [10000000000 10000000000 127600001604]
Block 12290518: [1000000000 1000000000 120000000000]
Block 12290519: [117000000000 117000000000 117000000000]
Block 12290520: [123000000000 123900000233 123900000233]
Block 12290521: [126000000000 127000000000 128000000000]
Block 12290522: [191000000000 191000000000 191000000000]
Block 12290523: [10000000000 10000000000 10000000000]
Block 12290524: [169000000001 171000000000 171000001459]
Block 12290525: [145000000000 155100000000 155624547606]
Block 12290526: [141900000000 142000000000 142000000000]
Block 12290527: [120000000000 135000000000 136000000000]
Block 12290528: [158000000000 161000001459 161000001459]
Block 12290529: [132000000000 132000000000 132000000000]
Block 12290530: [117000000000 129000000000 129000000000]
Block 12290531: [128000000000 128000000000 128000000000]
Block 12290532: [177000000000 178500000000 179000000000]
Block 12290533: [120000000000 161785714286 162000000000]
Block 12290534: [117000000000 137000000000 139000000000]
Block 12290535: [123000000000 124000000000 135000000000]
Block 12290536: [126000000000 126000000000 126000000000]
Block 12290537: [124000000000 124000000000 124000000000]
Block 12290538: [123000000000 123000000000 123000000000]
Block 12290539: [1000000000 1000000000 1000000000]
Block 12290540: [172700000000 173000000000 173000000000]
Block 12290541: [114000000000 114000000000 116500000000]
Block 12290542: [154000000000 154285714286 155000000000]
Block 12290543: [163000000000 165770000000 166000000000]
Block 12290544: [147000000000 148000000000 148000000000]
Block 12290545: [137000000000 137000000000 137000000000]
Block 12290546: [10000000000 10000000000 114000000000]
Block 12290547: [132000000000 134000000000 134000000000]
Block 12290548: [126480000000 127000000000 127000000000]
Block 12290549: [124000000000 124000000000 124000000000]
Block 12290550: [1000000000 1000000000 123900000233]
Block 12290551: [117000000000 117000000000 117000000000]
Block 12290552: [1000000000 1000000000 123000000000]
Block 12290553: [120000000000 120000000000 120000000000]
Block 12290554: [117000001561 118000000000 118000000000]
Block 12290555: [117000000000 117000000000 117000000000]
Block 12290556: [116000001459 116000001459 116000001459]
Block 12290557: [116000000000 116000001347 116000001459]
Block 12290558: [1000000000 1000000000 1000000000]
Block 12290559: [125000000000 126000000000 126000000000]
Block 12290560: [117000001459 120000000000 124000000000]
Block 12290561: [150000000000 150000000000 151000000000]
Block 12290562: [124000000000 125000000000 125000000000]
Block 12290563: [123000000000 123000000000 123000000000]
Block 12290564: [125000000000 125000000000 126000000000]
Block 12290565: [1000000000 117000000000 123000000000]
Block 12290566: [1000000000 1000000000 119000000000]
Block 12290567: [153214285714 155100000000 155100000000]
Block 12290568: [154000000000 155000000000 155100000000]
Block 12290569: [10000000000 10000000000 135300000000]
Block 12290570: [135000000000 135000000000 135000000000]
Block 12290571: [1000000000 1000000000 1000000000]
Block 12290572: [123000000000 124000000000 124000000000]
Block 12290573: [123000000000 123000000000 123000000000]
Block 12290574: [123000000000 123000000000 123000000000]
Block 12290575: [130900000000 130900000000 132000000000]
Block 12290576: [120000000000 123000000000 123000000000]
Block 12290577: [122000000000 122000000000 122000000000]
Block 12290578: [119000000000 119000000000 119000000000]
Block 12290579: [147000000000 149000000000 149000000000]
Block 12290580: [10000000000 135300000000 142000000000]
Block 12290581: [123000000000 123000000001 123000001459]
Block 12290582: [1000000000 123000000000 155000000000]
Block 12290583: [166260000000 170000000000 170000000000]
Block 12290584: [123000000000 155000000000 155810208154]
Block 12290585: [143000000000 151000000000 152000000000]
Block 12290586: [142000000000 142000000000 142000000000]
Block 12290587: [140000000000 140000000000 141000000000]
Block 12290588: [1000000000 1000000000 1000000000]
Block 12290589: [137000000000 137000000000 137500000000]
Block 12290590: [1000000000 1000000000 133000000000]
Block 12290591: [128000000000 128700000233 128760001619]
Block 12290592: [123000000000 125000000000 125000001347]
Block 12290593: [123000001347 124000000000 124000000000]
Block 12290594: [123000000000 123000000000 123000000000]
Block 12290595: [123000000000 123000000000 123000000000]
Block 12290596: [123000000000 123000000000 123000000000]
Block 12290597: [1000000000 1000000000 123000000000]
Block 12290598: [153750000000 156000000000 157058000000]
Block 12290599: [136000000000 136000000000 137000000000]
Block 12290600: [123000000000 123000000000 130000000000]
Block 12290601: [123000000000 123000001347 124000000000]
Block 12290602: [123000000000 123000000000 123000000000]
Block 12290603: [154000000000 158694091045 159000000000]
Block 12290604: [1000000000 1000000000 130000000000]
Block 12290605: [123000000000 123000000000 123000000000]
Block 12290606: [123000000000 123000000000 123000000000]
Block 12290607: [10000000000 123000000000 123000000000]
Block 12290608: [123000000000 123000000000 123000000000]
Block 12290609: [135300000000 135300000000 135300000000]
Block 12290610: [123000000000 123000000000 123000000000]
Block 12290611: [123000000000 123000000000 123000000000]
Block 12290612: [10000000000 10000000000 165000000000]
Block 12290613: [155000000000 155000001459 155000001459]
Block 12290614: [154000000000 154000000000 155000000000]
Block 12290615: [1000000000 1000000000 1000000000]
Block 12290616: [135000000000 150000000000 150000000000]
Block 12290617: [135300000000 138000000000 138000000000]
Block 12290618: [135300000000 135300000000 135300000000]
Block 12290619: [10000000000 10000000000 132000000000]
Block 12290620: [123000000000 149000000000 150000000000]
Block 12290621: [126000000000 126000000000 126000000000]
Block 12290622: [123000000000 123000000000 123000000000]
Block 12290623: [123000000000 123000000000 123000000000]
Block 12290624: [123000000000 123000000000 123000000000]
Block 12290625: [123000000000 123000000000 123000000000]
Block 12290626: [1000000000 1000000000 1000000000]
Block 12290627: [123000000000 135000000000 135000000000]
Block 12290628: [123000000000 123000000000 123000000000]
Block 12290629: [123000000000 123000000000 123000000000]
Block 12290630: [123000000000 123000000000 123000000000]
Block 12290631: [139000000000 140000000000 140000001459]
Block 12290632: [123000000000 131000000000 135000000000]
Block 12290633: [123000000000 123000000000 123000000000]
Block 12290634: [123000000000 153750000000 155000000000]
Block 12290635: [10000000000 10000000000 10000000000]
Block 12290636: [135000000000 136000001459 136000001459]
Block 12290637: [132000000000 132000000000 132000000000]
Block 12290638: [126500000000 126500000000 126690000000]
Block 12290639: [10000000000 123000001347 124000000000]
Block 12290640: [123000000000 123000000000 123000000000]
Block 12290641: [123000000000 123000000000 123000000000]
Block 12290642: [1000000000 123000000000 123000000000]
Block 12290643: [123000000000 123000000000 123000000000]
Block 12290644: [135300000000 135300000000 135300000000]
Block 12290645: [127000000000 127738349315 127738349315]
Block 12290646: [123000000000 123000000000 123000000000]
Block 12290647: [123000000000 123000000000 123000000000]
Block 12290648: [123000000000 123000000000 123000000000]
Block 12290649: [10000000000 123000000000 123000000000]
Block 12290650: [123000000000 123000000000 123000000000]
Block 12290651: [123000000000 123000000000 123000000000]
Block 12290652: [123000000000 123000000000 123000000000]
Block 12290653: [120000000000 120000000000 120000000000]
Block 12290654: [142000000000 142000000000 143000001347]
Block 12290656: [137000000000 137500000000 137500000000]
Block 12290657: [108900000000 129000000000 129000000000]
Block 12290658: [125000000000 125000000000 125000000000]
Block 12290659: [123000000000 123000000000 123000000000]
Block 12290660: [143910000000 143910000000 145000000000]
Block 12290661: [148000000000 148000000000 149000000000]
Block 12290662: [10000000000 123000000000 136400000000]
Block 12290663: [135000000000 135000000000 135000000000]
Block 12290664: [1000000000 1000000000 1000000000]
Block 12290665: [10000000000 133000000000 134000001459]
Block 12290666: [135000000000 135000000000 135025000000]
Block 12290667: [10000000000 129000000000 129150000000]
Block 12290668: [126000000000 126000000000 126000000000]
Block 12290669: [135300000000 135300000000 136000000000]
Block 12290670: [145000000000 146300000000 147000000000]
Block 12290671: [10000000000 153000000000 161250000000]
Block 12290672: [151000000000 151000000000 151000000000]
Block 12290673: [10000000000 147000000000 147000000000]
Block 12290674: [141900000000 141900000000 141900000000]
Block 12290675: [1000000000 1000000000 1000000000]
Block 12290676: [123000000000 138600000000 138600000000]
Block 12290677: [10000000000 138000000000 138000001459]
Block 12290678: [136000000000 136000000729 136000001347]
Block 12290679: [134000001459 134000001459 134000001459]
Block 12290680: [134000001459 147000000000 147000000000]
Block 12290681: [129000000000 134000001459 135000000000]
Block 12290682: [133000000000 133000001459 133100000233]
Block 12290683: [123000000000 129000000000 129000000000]
Block 12290684: [129000000000 129000000000 129000000000]
Block 12290685: [126000000000 126000000000 126000000000]
Block 12290686: [10000000000 155000000000 155000000000]
Block 12290687: [135300000000 135300000233 135300000233]
Block 12290688: [126000000000 126000000000 126000000000]
Block 12290689: [126000000000 126000000000 126000000000]
Block 12290690: [123000001347 123000001347 123000001347]
Block 12290691: [123000000000 123000000000 123000000000]
Block 12290692: [123000000000 123000000000 123000000000]
Block 12290693: [10000000000 131000000000 148350000000]
Block 12290694: [1000000000 1000000000 141900000000]
Block 12290695: [145000000000 147000000000 147000000000]
Block 12290696: [135000000000 135000000000 135000000000]
Block 12290697: [10000000000 10000000000 145973150527]
Block 12290698: [123000001347 134000000000 134000000000]
Block 12290699: [128346881351 129000000000 129000000000]
Block 12290700: [126000000000 126000000000 126000000000]
Block 12290701: [10000000000 10000000000 123000001347]
Block 12290702: [123000001347 123000001347 123000001347]
Block 12290703: [147000000000 147400001604 147600001616]
Block 12290704: [1000000000 1000000000 1000000000]
Block 12290705: [123000001347 123000001347 123000001347]
Block 12290706: [123000001347 123000001347 123000001347]
Block 12290707: [123000001347 123000001347 123000001347]
Block 12290708: [123000000000 123000000000 123000001347]
Block 12290709: [123000000000 123000000000 123000000000]
Block 12290710: [146000000000 147000000000 148000000000]
Block 12290711: [131000000000 131000000000 132000000000]
Block 12290712: [123000000000 123000000000 123000000000]
Block 12290713: [123000000000 123000001347 123000001347]
Block 12290714: [1000000000 149000000000 152000001459]
Block 12290715: [113000000000 113000000000 113000000000]
Block 12290716: [167000000000 167000000000 167000000000]
Block 12290717: [1000000000 1000000000 1000000000]
Block 12290718: [126690001387 135000000000 135300000000]
Block 12290719: [135300001481 138000000000 138000001347]
Block 12290720: [123000001347 146000000000 147000000000]
Block 12290721: [10000000000 10000000000 10000000000]
Block 12290722: [123000001347 144100000000 145000000000]
Block 12290723: [140800000000 141000000000 141000000000]
Block 12290724: [123000001347 135300001481 135300001481]
Block 12290725: [10000000000 10000000000 10000000000]
Block 12290726: [123000001347 153750001683 153750001683]
Block 12290727: [146000000000 146000000000 146000000000]
Block 12290728: [136000000000 136000000000 136000001459]
Block 12290729: [135000000000 135000001347 135000001347]
Block 12290730: [123000001347 132000000000 132000000000]
Block 12290731: [171000000000 171000000000 171000000000]
Block 12290732: [155000000000 155000000000 156000000000]
Block 12290733: [139359001525 139359001525 140000000000]
Block 12290734: [139359001525 139359001525 139359001525]
Block 12290735: [131000000000 131000000000 131320000000]
Block 12290736: [129150001414 129765001421 129765001421]
Block 12290737: [1000000000 126690001387 128000000000]
Block 12290738: [127000000000 127000000000 127000000000]
Block 12290739: [126690001387 126690001387 126690001387]
Block 12290740: [126690001387 126690001387 126690001387]
Block 12290741: [1000000000 1000000000 135300000233]
Block 12290742: [136000000000 137550000000 138000000000]
Block 12290743: [157000000000 158100000000 159000000000]
Block 12290744: [142000000000 143000000000 144000000000]
Block 12290745: [1000000000 1000000000 1000000000]
Block 12290746: [145000000000 145000000000 145000000000]
Block 12290747: [136000001459 136000001459 136000001459]
Block 12290748: [136000000000 136000000000 136000000000]
Block 12290749: [10000000000 10000000000 10000000000]
Block 12290750: [131690001387 132000000000 132000000000]
Block 12290751: [129000000000 130000000000 130000000000]
Block 12290752: [1000000000 1000000000 1000000000]
Block 12290753: [128000000000 129000000000 129000000000]
Block 12290754: [126690001387 126690001387 126690001387]
Block 12290755: [142000000000 142000000000 142000000000]
Block 12290756: [149000000000 149000000000 149000000000]
Block 12290757: [136000000000 136000000000 136000000000]
Block 12290758: [148965300256 149000000000 149000000000]
Block 12290759: [131650000846 132000000000 132000000000]
Block 12290760: [10000000000 130000000000 130000000000]
Block 12290761: [136000000000 149000000000 149000000000]
Block 12290762: [137000000000 137000001459 137000001459]
Block 12290763: [136000000000 136000000000 136000000000]
Block 12290764: [10000000000 150000000000 175000000000]
Block 12290765: [139000000000 161000001459 162000000000]
Block 12290766: [10000000000 161051000000 162000000000]
Block 12290767: [155000000000 155000000000 155000000000]
Block 12290768: [154000000000 155000000000 155000000000]
Block 12290769: [149000000000 149000000000 149000000000]
Block 12290770: [170100000000 172000000000 172000000000]
Block 12290771: [145000000000 149000000000 149000000000]
Block 12290772: [146000000000 146300000000 146520000000]
Block 12290773: [10000000000 10000000000 10000000000]
Block 12290774: [144000000000 144000000000 144000000000]
Block 12290775: [144000000000 144000000000 144000000000]
Block 12290777: [137500000000 138600000000 138600000000]
Block 12290778: [1000000000 1000000000 132000000000]
Block 12290779: [1000000000 1000000000 135960000000]
Block 12290780: [123000001347 133000000000 133900000000]
Block 12290781: [1000000000 1000000000 1000000000]
Block 12290782: [123000001347 132000000000 132000000000]
Block 12290783: [132000000000 132000000000 132000000000]
Block 12290784: [132000000000 132000000000 132000000000]
Block 12290785: [141900000000 144000000000 144000001459]
Block 12290786: [137000000000 137000000000 138000000000]
Block 12290787: [124000000000 124000000000 124000000000]
Block 12290788: [152460000000 152900000000 153000000000]
Block 12290789: [1000000000 1000000000 145000000000]
Block 12290790: [139000001459 139000001459 140000000000]
Block 12290791: [138000000000 138000001459 138600000000]
Block 12290792: [123000001347 152000000000 152900000000]
Block 12290793: [115000000000 137000000000 137000000000]
Block 12290794: [10000000000 10000000000 10000000000]
Block 12290795: [136000000000 136000000000 136000000000]
Block 12290796: [135000000000 135299996057 135300000233]
Block 12290797: [132000000000 132000000000 132000000000]
Block 12290798: [1000000000 1000000000 1000000000]
Block 12290799: [126690001387 126690001387 126690001387]
Block 12290800: [139000000000 139000000000 140000001459]
Block 12290801: [10000000000 139000000000 139000000000]
Block 12290802: [132000000000 133000000000 133000000000]
Block 12290804: [10000000000 132000000000 132000000000]
Block 12290805: [132000000000 132000000000 132000000000]
Block 12290806: [124000000000 124000000000 124000000000]
Block 12290807: [1000000000 1000000000 1000000000]
Block 12290808: [10000000000 150700013708 151250000000]
Block 12290809: [132000000000 137000000000 137000001459]
Block 12290810: [10000000000 132000000000 134000000000]
Block 12290811: [133000000000 133000000000 133000000000]
Block 12290812: [132000000000 132000000000 132000000000]
Block 12290813: [125000000000 126000000000 127000000001]
Block 12290814: [128998099999 130000000000 131690001387]
Block 12290815: [124000000000 124000000000 124000000000]
Block 12290816: [10000000000 125000000000 148000000000]
Block 12290817: [130000000000 130000000000 130000000000]
Block 12290818: [124000000000 124000000000 124000000000]
Block 12290819: [124000000000 124000000000 124000000000]
Block 12290820: [150000000000 151000000000 151000000000]
Block 12290821: [130000000000 130000000000 130000001459]
Block 12290822: [1000000000 1000000000 1000000000]
Block 12290823: [130000000000 130000000000 130000000000]
Block 12290824: [130000000000 130000000000 130000000000]
Block 12290825: [150000000000 151200000000 151800000000]
Block 12290826: [134000000000 134000000000 134000000000]
Block 12290827: [124000000000 131000000000 131000000000]
Block 12290828: [129000000000 129000000000 129000000000]
Block 12290829: [124000000000 155000000000 157000000000]
Block 12290830: [148000000000 148800000000 148800000000]
Block 12290831: [1000000000 1000000000 1000000000]
Block 12290832: [1000000000 127000000001 127000001459]
Block 12290833: [126000000000 126000000000 126000000000]
Block 12290834: [124000000000 124000000000 124000000000]
Block 12290835: [1000000000 1000000000 1000000000]
Block 12290836: [10000000000 124000000000 124000000000]
Block 12290837: [125500000000 126000000000 127000000000]
Block 12290838: [124000000000 124000000000 124000000000]
Block 12290839: [123000001347 123000001347 123000001347]
Block 12290840: [123000001347 123000001347 123000001347]
Block 12290841: [123000001347 123000001347 123000001347]
Block 12290842: [123000001347 123000001347 123000001347]
Block 12290843: [123000001123 123000001123 123000001123]
Block 12290844: [138000000000 138050000000 138600000000]
Block 12290845: [10000000000 10000000000 129000000000]
Block 12290846: [125000001459 125000001459 125000001459]
Block 12290847: [144000000000 146000000000 147400013481]
Block 12290848: [1000000000 1000000000 136400000000]
Block 12290849: [134000000000 139000000000 143000000000]
Block 12290850: [1000000000 1000000000 124000000000]
Block 12290851: [126000000000 126000000000 126000000000]
Block 12290852: [157000000000 157000000000 157000000000]
Block 12290853: [1000000000 1000000000 138000000000]
Block 12290854: [1000000000 1000000000 127000000000]
Block 12290855: [130000000000 132000000000 132000000000]
Block 12290856: [135000000000 135000000000 135000000000]
Block 12290857: [10000000000 10000000000 10000000000]
Block 12290858: [124000000000 127000000000 127000000000]
Block 12290859: [1000000000 1000000000 124000000000]
Block 12290860: [124000000000 124000000000 124000000000]
Block 12290861: [141900000000 160140000000 160140000000]
Block 12290862: [1000000000 1000000000 142000000000]
Block 12290863: [142000000000 142000000000 142000000000]
Block 12290864: [1000000000 1000000000 1000000000]
Block 12290865: [128000000000 128000000000 128000000000]
Block 12290866: [135300000000 135300000000 135300000000]
Block 12290867: [127000001459 127000001459 127720000000]
Block 12290868: [124000000000 125000000000 125000001459]
Block 12290869: [124000000000 124000000000 124000000000]
Block 12290870: [138000000000 138600000000 138600000000]
Block 12290871: [124000000000 124000000000 124000000000]
Block 12290872: [1000000000 1000000000 155000000000]
Block 12290873: [133000000000 133985000000 135300001481]
Block 12290874: [10000000000 10000000000 10000000000]
Block 12290875: [132000000000 133000000000 133000000000]
Block 12290876: [128000001459 129000000000 129000000000]
Block 12290877: [136000000000 136000000000 136400000000]
Block 12290878: [1000000000 1000000000 127000000000]
Block 12290879: [125000001459 125000001459 125000001459]
Block 12290880: [153016000000 153016000000 153214287158]
Block 12290881: [137500001604 138000000000 138000000000]
Block 12290882: [127000001459 127000001459 128000000000]
Block 12290883: [1000000000 1000000000 1000000000]
Block 12290884: [124000000000 124000000000 124000000000]
Block 12290885: [127000000000 127000001459 127000001459]
Block 12290886: [153000000000 153000000001 153000000001]
Block 12290887: [134000000000 134000000000 135000000000]
Block 12290888: [127000001459 127720000000 127720000000]
Block 12290889: [127000001459 127000001459 127000001459]
Block 12290892: [136000000000 136000000000 136000000000]
Block 12290893: [127000001459 127000001459 127000001459]
Block 12290894: [1000000000 1000000000 128525147330]
Block 12290895: [125000001459 125000001459 125000001459]
Block 12290896: [124000000000 124000000000 124000000000]
Block 12290897: [155000000000 155000000000 156000000000]
Block 12290898: [127000001459 137000000000 137000000000]
Block 12290899: [1000000000 1000000000 1000000000]
Block 12290900: [142875001642 144100000000 145000000000]

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this PR could be simplified quite a lot

eth/gasprice/gasprice.go Outdated Show resolved Hide resolved
eth/gasprice/gasprice.go Outdated Show resolved Hide resolved
eth/gasprice/gasprice.go Outdated Show resolved Hide resolved
@holiman
Copy link
Contributor

holiman commented Apr 26, 2021

If anyone wants to play with the dataset: https://gist.github.com/holiman/ffa1c7ba3ade8e73ffea5e832ae9cd72

@holiman
Copy link
Contributor

holiman commented Apr 26, 2021

I think my preferred fix would simply be

diff --git a/eth/gasprice/gasprice.go b/eth/gasprice/gasprice.go
index 5d8be08e0b..560722bec0 100644
--- a/eth/gasprice/gasprice.go
+++ b/eth/gasprice/gasprice.go
@@ -199,6 +199,9 @@ func (gpo *Oracle) getBlockPrices(ctx context.Context, signer types.Signer, bloc
 
 	var prices []*big.Int
 	for _, tx := range txs {
+		if tx.GasPriceIntCmp(common.Big1) <= 0 {
+			continue
+		}
 		sender, err := types.Sender(signer, tx)
 		if err == nil && sender != block.Coinbase() {
 			prices = append(prices, tx.GasPrice())

@GregTheGreek
Copy link
Contributor Author

I'm pulling some of my own data right now and will get back to you @holiman

I agree though, if 0,1 are the only things to filter out then I'm fine simplifying this

gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants