Skip to content

Instantly share code, notes, and snippets.

View jmiehau's full-sized avatar

Jorge jmiehau

  • Mars
  • Tolouse
View GitHub Profile
@jmiehau
jmiehau / .py
Last active April 13, 2018 21:03
JPMORGAN_CDV_BAN
# Added 4/11/18 by Brittanie, Anne & Jorge
JPMORGAN_CDV_BAN = {
'name': 'JPMORGAN_CDV_BAN',
'action': 'fraud_restrict',
'criteria': {
'giact_result': [
'giact_customer_results_ca01',
'giact_customer_results_ca21'
],
'us_bank_names': [
iMac-de-Pablo:~ Jorge$ ethminer --help
Usage ethminer [OPTIONS]
Options:
Work farming mode:
-F,--farm <url> Put into mining farm mode with the work server at URL (default: http://127.0.0.1:8545)
--farm-recheck <n> Leave n ms between checks for changed work (default: 500).
--no-precompute Don't precompute the next epoch's DAG.
Ethash verify mode:
-w,--check-pow <headerHash> <seedHash> <difficulty> <nonce> Check PoW credentials for validity.
@jmiehau
jmiehau / gist:089209d1152643777861
Created June 16, 2015 19:22
Problem with the Blockchain. Block number header
This file has been truncated, but you can view the full file.
Last login: Sun Jun 14 05:31:08 on ttys000
iMac-de-XX:~ XX geth --port "30304" --unlock primary console
I0615 22:51:46.715389 12390 backend.go:256] Protocol Version: 60, Network Id: 0
I0615 22:51:46.715433 12390 backend.go:266] Blockchain DB Version: 3
I0615 22:51:46.787175 12390 chain_manager.go:252] Last block (#607425) d69100dc82c6a5ecbcaa3b3d354d63f2526f3679b1d3a5ee25647b3d1343965e TD=4772081140157195
I0615 22:56:51.321527 12390 cmd.go:148] Starting Geth/v0.9.28/darwin/go1.4.2
I0615 22:56:51.321613 12390 server.go:293] Starting Server
I0615 22:56:57.095769 12390 udp.go:189] Listening, enode://fdc9a2345e5677d3b3db0065450caa864ee2f7044dce18616e6552584f7654b8a1ec9326787217939a84695f72d98f7a29996174aad4c1566a1dad5593b885b1@[::]:30304
I0615 22:56:57.095897 12390 backend.go:477] Server started
I0615 22:56:57.095909 12390 server.go:530] Listening on [::]:30304
//bloatSpam.js
//Spams contract storage transactions to bloater
//Usage: bloatSpam(numTx, numLoops, useFaucet=true, fromAccount=eth.accounts[0])
//numTx: number of transactions per batch
//numLoops: number of transaction batches
//fromAccount (optional): local account to send from
//useFaucet (optional): use decentralized faucet to replenish funds
//reddit.com/u/BroughtToUByCarlsJr
//Function that pauses script until pending transactions are cleared