Skip to content

Instantly share code, notes, and snippets.

View AyushyaChitransh's full-sized avatar
🎯
Focusing

Ayushya Chitransh AyushyaChitransh

🎯
Focusing
View GitHub Profile
0x3ACc6B049094B283b2fF248423fDAbf72ae235fc
@AyushyaChitransh
AyushyaChitransh / README.md
Last active August 21, 2017 10:44
Reactome Overview
@AyushyaChitransh
AyushyaChitransh / ayushya
Created September 5, 2017 17:45
parity-ayushya-8082
0x00CbF66738027C7F703A6dE936B57F55e5F0a32f
@AyushyaChitransh
AyushyaChitransh / Rinkeby Account
Last active September 30, 2017 13:22
Account 2 on metamask
0xe047723665D1F682Bf7C99efaA33E18304FFDAC0
@AyushyaChitransh
AyushyaChitransh / parity.log
Created March 28, 2018 08:10
Error while generating receipt of transactions for https://github.com/paritytech/parity/issues/8237
This file has been truncated, but you can view the full file.
2018-03-28 07:36:04 UTC main INFO parity::run Starting Parity/v1.8.5-beta-54bae9a-20171228/x86_64-linux-gnu/rustc1.22.1
2018-03-28 07:36:04 UTC main INFO parity::run Keys path ./tmp/parityData/keys/DLTPoA
2018-03-28 07:36:04 UTC main INFO parity::run DB path ./tmp/parityData/chains/DLTPoA/db/d0e5cbdd25dcde8e
2018-03-28 07:36:04 UTC main INFO parity::run Path to dapps ./tmp/parityData/dapps
2018-03-28 07:36:04 UTC main INFO parity::run State DB configuration: fast +Fat
2018-03-28 07:36:04 UTC main INFO parity::run Operating mode: active
2018-03-28 07:36:04 UTC main WARN parity::run Warning: Warp Sync is disabled because Fat DB is turned on.
2018-03-28 07:36:04 UTC main DEBUG miner minimal_gas_price: recalibrating...
2018-03-28 07:36:04 UTC main INFO ethcore::service Configured for DLTPoA using AuthorityRound engine
2018-03-28 07:36:04 UTC INFO miner Updated conversion rate to Ξ1 = US$455.30 (261470720 wei/gas)
@AyushyaChitransh
AyushyaChitransh / sendManyTransactions.js
Last active July 23, 2018 14:05
Send many transactions rapidly from an account
var Tx = require('ethereumjs-tx');
var Web3 = require('web3');
var util = require('ethereumjs-util');
var stripHexPrefix= require('strip-hex-prefix');
// connect to node
const web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545'));
function getTransactionReceiptMined(txHash, interval,callback) {
2019-01-16 11:05:58 UTC IO Worker #0 TRACE sync Drained 0 blocks, new head :Some(0x14d8686eceb5fc50781398a7b1ffc418098e041fecee4e8fc45eb57d5b3b1731)
2019-01-16 11:05:58 UTC IO Worker #0 TRACE sync NewBlocks: Imported 0 of 0
2019-01-16 11:05:58 UTC IO Worker #0 TRACE sync Considering peer 3, force=false, td=None, our td=68428821428678071328, latest=0xc6b0…f5b9, have_latest=false, state=Blocks
2019-01-16 11:05:58 UTC IO Worker #0 TRACE sync Syncing with peer 3, force=false, td=None, our td=68428821428678071328, state=Blocks
2019-01-16 11:05:58 UTC IO Worker #0 TRACE sync 3 <- GetBlockBodies: 10 entries starting from Some(0x8aaa966806359dafa5f1ef7d692338710cfb37b4a7ea645952cc846ba4963ccc), set = NewBlocks
2019-01-16 11:05:58 UTC IO Worker #0 TRACE sync New peer 16 (protocol: 63, network: 3125659152, difficulty: Some(20058397976535049083), latest:0xc1e4…f731, genesis:0x29a7…a273, snapshot:None)
2019-01-16 11:05:58 UTC IO Worker #0 TRACE sync Peer 16 genesis hash mismatch (ours: 0xd4e5…8fa3, theirs: 0x29a7…
pi@raspberrypi:~$ cd parity-ethereum/
pi@raspberrypi:~/parity-ethereum$ cargo build --release --features final
warning: /home/pi/parity-ethereum/util/memzero/Cargo.toml: unused manifest key: package.docs
Compiling hidapi v0.3.1 (https://github.com/paritytech/hidapi-rs#d4d32376)
Compiling idna v0.1.5
Compiling protobuf v1.7.4
Compiling kernel32-sys v0.2.2
Compiling semver v0.9.0
error: failed to run custom build command for `hidapi v0.3.1 (https://github.com/paritytech/hidapi-rs#d4d32376)`
process didn't exit successfully: `/home/pi/parity-ethereum/target/release/build/hidapi-5f83c71ad5a60d02/build-script-build` (exit code: 101)