Skip to content

Instantly share code, notes, and snippets.

View 5chdn's full-sized avatar
🏴
Struggling

5chdn

🏴
Struggling
View GitHub Profile
0x00913351b06ec369E123dfd6a317DaDAAbee85E9
@5chdn
5chdn / eth.json
Created August 22, 2017 12:05
Display ETH instead of FOUNDATION chain in Parity.
{
"name": "ETH",
"dataDir": "ethereum",
"engine": {
"Ethash": {
"params": {
"gasLimitBoundDivisor": "0x0400",
"minimumDifficulty": "0x020000",
"difficultyBoundDivisor": "0x0800",
"durationLimit": "0x0d",
@5chdn
5chdn / contract-revival-draft-000.md
Created December 7, 2017 12:04
Contract revival EIP specification drafts

Contract revival EIP specification drafts

Motivation

The motivation behind this EIP in all variants is to help people whose funds were blocked in Parity's multi-signature wallets due to the destruction of the library contract holding all wallet logic. However, it is worth noticing that this problem is not the first of its kind. @mjmau noticed in the EIP 156 discussion in August that over 3500 ETH is stuck in roughly 300 smart contracts without any code. Currently, there are more than 5000. The actual number of stuck ether may be much higher if we take into account all ether which was lost due to replay attacks where "a contract was created on ETC, funds sent on ETH but the contract not created on ETH" (quote from EIP 156).

Proposal drafts

In the following sections, four potential variants of this _contract r

@5chdn
5chdn / example-contract.json
Created January 17, 2018 12:59
How to add contracts to a Parity chain spec
{
"name": "parity",
"engine": {
"authorityRound": {
"params": {
"gasLimitBoundDivisor": "0x400",
"stepDuration": "5",
"validators" : {
"list": [ "0xc1e4ac9ab92739903d0fec09736264539e9d0dfc", "0x7ffbe3512782069be388f41be4d8eb350672d3a5", "0x73173750953f0e69c5a0231ec79b8ba99274ae85", "0x6ac2e84932107eee292c1d658f63f32623e1d0b3", "0x726ac6895981104ca2f33bf4263d7e913e367ec3", "0xb565916f0e6fda4be34bea60508c39c6c88c4ca6" ]
}
@5chdn
5chdn / BasiCoin.sol
Created January 17, 2018 15:19
Deploy BasiCoin via Parity IDE
//! The basic-coin ECR20-compliant token contract.
//!
//! Copyright 2016 Gavin Wood, Parity Technologies Ltd.
//!
//! Licensed under the Apache License, Version 2.0 (the "License");
//! you may not use this file except in compliance with the License.
//! You may obtain a copy of the License at
//!
//! http://www.apache.org/licenses/LICENSE-2.0
//!
@5chdn
5chdn / kovan.log
Created June 6, 2018 18:56
Error importing ancient block
This file has been truncated, but you can view the full file.
2018-06-06 20:29:10 Error importing ancient block: 0x245c…9dcd
2018-06-06 20:29:10 Error importing ancient block: 0x3029…bdf7
2018-06-06 20:29:10 Error importing ancient block: 0x688e…c3b0
2018-06-06 20:29:10 Error importing ancient block: 0x503c…171f
2018-06-06 20:29:10 Error importing ancient block: 0xd1c2…c6d4
2018-06-06 20:29:10 Error importing ancient block: 0x9a9c…6b5c
2018-06-06 20:29:10 Error importing ancient block: 0xd412…6a85
2018-06-06 20:29:10 Error importing ancient block: 0x2823…0bbb
2018-06-06 20:29:10 Error importing ancient block: 0x2f99…528d
2018-06-06 20:29:10 Error importing ancient block: 0xe8dd…9ff2
@5chdn
5chdn / Verifying my Peepeth
Created September 5, 2018 10:17
Verifying my Peepeth
Verifying my identity on Peepeth.com 0x0312b8954b0feeaed741ffc9d8b9be939d0c2957
@5chdn
5chdn / pantheon.log
Created November 1, 2018 11:43
java.util.concurrent.CompletionException: tech.pegasys.pantheon.ethereum.eth.manager.exceptions.MaxRetriesReachedException: Task failed: MAX_RETRIES_REACHED
2018-11-01 12:37:44.067+01:00 | EthSchedulerTimer | INFO | WaitForPeerTask | Waiting for new peer connection. 18 peers currently connected, Some peers idle.
2018-11-01 12:37:49.067+01:00 | EthSchedulerTimer | INFO | AbstractRetryingPeerTask | No peers available, wait for peer.
2018-11-01 12:37:49.068+01:00 | EthSchedulerTimer | INFO | WaitForPeerTask | Waiting for new peer connection. 18 peers currently connected, Some peers idle.
2018-11-01 12:37:54.069+01:00 | EthSchedulerTimer | INFO | AbstractRetryingPeerTask | No peers available, wait for peer.
2018-11-01 12:37:54.069+01:00 | EthSchedulerTimer | INFO | WaitForPeerTask | Waiting for new peer connection. 18 peers currently connected, Some peers idle.
2018-11-01 12:37:59.070+01:00 | EthSchedulerTimer | INFO | AbstractRetryingPeerTask | No peers available, wait for peer.
2018-11-01 12:37:59.070+01:00 | EthSchedulerTimer | INFO | WaitForPeerTask | Waiting for new peer connection. 18 peers currently connected, Some peers idle.
2018-11-01 12:38:04.071+01
@5chdn
5chdn / stureby.aleth.json
Last active December 3, 2018 21:51
Stureby PoW Testnet Configuration for Constantinople Transition
{
"sealEngine":"Ethash",
"params":{
"accountStartNonce":"0x00",
"maximumExtraDataSize":"0x20",
"homesteadForkBlock":"0x2710",
"daoHardforkBlock":"0x00",
"EIP150ForkBlock":"0x3a98",
"EIP158ForkBlock":"0x59d8",
"byzantiumForkBlock":"0x7530",
##
## Arch Linux repository mirrorlist
## Filtered by mirror score from mirror status page
## Generated on 2018-12-17
##
## Germany
#Server = http://arch.unixpeople.org/$repo/os/$arch
## Germany
#Server = http://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch