Skip to content

Instantly share code, notes, and snippets.

@zhiming137
zhiming137 / HallOfBlame.md
Created December 22, 2023 10:13 — forked from yorickdowne/HallOfBlame.md
Great and less great SSDs for Ethereum nodes

Overview

Syncing an Ethereum node is largely reliant on IOPS, I/O Per Second. Budget SSDs will struggle to an extent, and some won't be able to sync at all.

This document aims to snapshot some known good and known bad models.

For size, 2TB come recommended as of late 2023. This should last an Ethereum full node until late 2025 or thereabouts, with crystal ball uncertainty.

High-level, QLC and DRAMless are far slower than "mainstream" SSDs.

@zhiming137
zhiming137 / HallOfBlame.md
Created December 22, 2023 10:13 — forked from yorickdowne/HallOfBlame.md
Great and less great SSDs for Ethereum nodes

Overview

Syncing an Ethereum node is largely reliant on IOPS, I/O Per Second. Budget SSDs will struggle to an extent, and some won't be able to sync at all.

This document aims to snapshot some known good and known bad models.

For size, 2TB come recommended as of late 2023. This should last an Ethereum full node until late 2025 or thereabouts, with crystal ball uncertainty.

High-level, QLC and DRAMless are far slower than "mainstream" SSDs.

{"name":"Polygon Tokens List","version":{"major":2,"minor":0,"patch":0},"logoURI":"https:\/\/wallet-asset.matic.network\/img\/tokens\/matic.svg","keywords":["polygon","default","tokens"],"timestamp":"2022-04-08T11:53:50.985Z","tokens":[{"chainId":137,"name":"Ether - PoS","symbol":"ETH","decimals":18,"address":"0x7ceb23fd6bc0add59e62ac25578270cff1b9f619","logoURI":"https:\/\/wallet-asset.matic.network\/img\/tokens\/eth.svg"},{"chainId":137,"name":"Ether - Plasma","symbol":"ETH","decimals":18,"address":"0x8cc8538d60901d19692f5ba22684732bc28f54a3","logoURI":"https:\/\/wallet-asset.matic.network\/img\/tokens\/eth.svg"},{"chainId":137,"name":"Matic Token","symbol":"MATIC","decimals":18,"address":"0x0000000000000000000000000000000000001010","logoURI":"https:\/\/wallet-asset.matic.network\/img\/tokens\/matic.svg"},{"chainId":137,"name":"USD Coin","symbol":"USDC","decimals":6,"address":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","logoURI":"https:\/\/wallet-asset.matic.network\/img\/tokens\/usdc.svg"},{"chainId":137,
@zhiming137
zhiming137 / CGMiner.pm
Created September 17, 2018 07:23 — forked from dbiesecke/CGMiner.pm
CGMiner API Example
#!/usr/bin/perl
# = CGminer.pm
#
# == Description
#
# Perl module to interface with the cgminer api
#
# == License
#
# "THE BEER-WARE LICENSE" (Revision 42-mrenz):
@zhiming137
zhiming137 / API.txt
Last active August 24, 2018 04:54 — forked from ivy/API.txt
Claymore JSON-RPC API documentation (from Claymore v9.6)
EthMan uses raw TCP/IP connections (not HTTP) for remote management and statistics. Optionally, "psw" field is added to requests is the password for remote management is set for miner.
The following commands are available (JSON format):
----------------
REQUEST:
{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}
RESPONSE:
{"result": ["9.3 - ETH", "21", "182724;51;0", "30502;30457;30297;30481;30479;30505", "0;0;0", "off;off;off;off;off;off", "53;71;57;67;61;72;55;70;59;71;61;70", "eth-eu1.nanopool.org:9999", "0;0;0;0"]}
#更新ubuntu老源
#ubuntu老版本不在提供源之后,更新会出问题,需要替换源地址
sudo sed -i s/cn.archive.ubuntu/old-releases.ubuntu/g /etc/apt/sources.list
sudo sed -i s/security.ubuntu/old-releases.ubuntu/g /etc/apt/sources.list
sudo apt-get update
{"sig":"ce20aba76cc4b9ecfa79080e744a9a4746504e3b832670244c5510acaa1a4084d5aa254cca28afbf62972e48fe9d7beaf861789e40fed7847591df0997fee2ec1","msghash":"a7b1b62dfaffa1699e5c05b186026b85cc316718c1a4b35ed05bb22d910c71c6"}