Skip to content

Instantly share code, notes, and snippets.

Photis Phudge photis

  • Crete, Greece / Ρηνανία-Παλατινάτο
Block or report user

Report or block photis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View grin-miner.log for v0.4.0
$ grin-miner
Starting Grin-Miner from config file at: /home/photis/Projects/mimble/miner/grin-miner.toml
Oct 18 15:29:28.043 INFO This is Grin-Miner version 0.4.0 (git bffce19), built for x86_64-unknown-linux-gnu by rustc 1.28.0 (9634041f0 2018-07-30).
Oct 18 15:29:28.043 DEBG Built with profile "debug", features "" on Thu, 18 Oct 2018 14:20:21 GMT.
Oct 18 15:29:29.044 WARN Connection Status: Connected to Grin server at 127.0.0.1:13416.
Oct 18 15:29:29.144 DEBG sending request: {"id":"0","jsonrpc":"2.0","method":"getjobtemplate","params":null}
Oct 18 15:29:30.045 DEBG Received message: {"id":"Stratum","jsonrpc":"2.0","method":"job","params":{"difficulty":1,"height":824,"job_id":0,"pre_pow":"00010000000000000338000000005bc898c9097337e5718072eecb8d2b73b4ca3b646a81b515d5e1e523e1c170246282c0b6c53f57a72a02b3f20518ec8a11ba3b9e84419ce030b6a1fc1058bc526d6ec1c4382826483e714bae1328b4339ec7a627218c6828af7c66d0ff6aa4501ab32f81a26e074302374bf2e0daf69abba5cb9e557f481057d4268269ade0cc9ed74eadaec1e35739389fb40fb988d83d9d4d2f
@photis
photis / gist:d3af41d8b354e0d6fc0786f7d5689cdc
Last active May 23, 2018
GRin wallet outputs - take 2
View gist:d3af41d8b354e0d6fc0786f7d5689cdc
------------------------------------------------------------------------------------------------------------------
fba69f95d492db0182f6 79019 80019 Unspent true 2866 60.000000000
------------------------------------------------------------------------------------------------------------------
1d2aa609433542c68896 79020 80020 Unspent true 2865 60.000000000
------------------------------------------------------------------------------------------------------------------
eca7df37fc9fd3012afb 79021 80021 Unspent true 2864 60.000000000
------------------------------------------------------------------------------------------------------------------
198a86671a1390748cfa 79022 80022 Unconfirmed true 0 60.000000000
------------------------------------------------------------------------------------------------------------
View gist:aa79c443064cc2274b1fe209b42c3777
------------------------------------------------------------------------------------------------------------------
fcf915eacbc4a81029e4 79010 80010 Unconfirmed true 0 60.000000000
------------------------------------------------------------------------------------------------------------------
7d99ed7662c5374791a6 79011 80011 Unspent true 2843 60.000000000
------------------------------------------------------------------------------------------------------------------
2dfbd25c2dbac4299433 79012 80012 Unspent true 2842 60.000000000
------------------------------------------------------------------------------------------------------------------
a14efef59dbadfb9f4a4 79013 80013 Unspent true 2841 60.000000000
------------------------------------------------------------------------------------------------------------
View backtrace 2018-04-23-21:21:47
Apr 23 21:21:47.289 ERRO Failed to get coinbase from http://127.0.0.1:13415/v1/receive/coinbase. Run grin wallet listen
Apr 23 21:21:47.290 ERRO Successfully received coinbase from http://127.0.0.1:13415/v1/receive/coinbase
Apr 23 21:21:47.298 DEBG ping/pong: 167.99.87.54:13414: 60126 @ 37698 vs us: 63534 @ 40964
Apr 23 21:21:47.521 DEBG ping/pong: 139.59.105.169:13414: 59192 @ 36764 vs us: 63534 @ 40964
Apr 23 21:21:47.752 ERRO
thread 'miner' panicked at 'cannot recursively call into `Core`': libcore/option.rs:917stack backtrace:
0: 0x564b8734c6d4 - backtrace::backtrace::libunwind::trace::h90855c49aa470e35
at /home/photis/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/backtrace/libunwind.rs:53
- backtrace::backtrace::trace::hcffffd5b27d483b3
at /home/photis/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.5/src/backtrace/mod.rs:42
View Compiling cuckoo_miner - take two
photis@gringotts:~/Projects/mimble/cuckoo-miner$ cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling winapi-build v0.1.1
Compiling regex-syntax v0.4.2
Compiling cc v1.0.4
Compiling constant_time_eq v0.1.3
Compiling rustc-serialize v0.3.24
Compiling quote v0.3.15
Compiling void v1.0.2
Compiling lazy_static v1.0.0
View Compiling cuckoo_miner
$ cargo build
Compiling cuckoo_miner v0.1.0 (https://github.com/mimblewimble/cuckoo-miner?tag=grin_integration_22#98125a41)
error: failed to run custom build command for `cuckoo_miner v0.1.0 (https://github.com/mimblewimble/cuckoo-miner?tag=grin_integration_22#98125a41)`
process didn't exit successfully: `/home/photis/Projects/mimble/grin/target/debug/build/cuckoo_miner-08e4daab7c7971a0/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=src/cuckoo_sys/plugins/cuckoo/.travis.yml
cargo:rerun-if-changed=src/cuckoo_sys/plugins/cuckoo/private/speedup32na0
cargo:rerun-if-changed=src/cuckoo_sys/plugins/cuckoo/private/equihash
cargo:rerun-if-changed=src/cuckoo_sys/plugins/cuckoo/private/cycle_freq.eps
cargo:rerun-if-changed=src/cuckoo_sys/plugins/cuckoo/private/fracs
View cuckootest_mean30x8
photis@gringotts:~/Projects/cuckoo/src$ ./mean30x8 -t 8 -r 10
Looking for 42-cycle on cuckoo30("",0-9) with 50% edges
Using 2144MB bucket memory at 7f5a87d93010,
8x21MB thread memory at 7f5a7d60e010,
8-way siphash, and 128 buckets.
nonce 0
genUnodes round 0 size 67130731 rdtsc: 1602945201
genVnodes round 1 size 42435397 rdtsc: 3506457325
trimedges id 0 round 3 size 11766173 rdtsc: 870165554
trimedges id 0 round 7 size 3311124 rdtsc: 165932081
View cuckootest
photis@gringotts:~/Projects/cuckoo/src$ make all
./lean20 -n 38 | grep ^Sol | ./verify20 -n 38
Verifying size 42 proof for cuckoo20("",38)
Verified with cyclehash 2f0e43de86b8ca70e73170d54750d0dc86dcdbf5563265911d981801b929dd63
g++ -march=native -m64 -std=c++11 -Wall -Wno-format -Wno-deprecated-declarations -D_POSIX_C_SOURCE=200112L -O3 -DPREFETCH -I. -pthread -o lean4 -DSHOW -DIDXSHIFT=0 -DPROOFSIZE=6 -DEDGEBITS=3 simple_miner.cpp -L. -lblake2b
./lean4 -h 211
Looking for 6-cycle on cuckoo4("211") with 50% edges
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 0 (6,15)
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:06 2 (2,15)
1: 2:15 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:06 3 (6,5)
View gist:c0210ead2df9558409dee5c88a903d80
Dec 05 08:03:08.369 INFO Connected to peer PeerInfo { capabilities: FULL_HIST | UTXO_HIST | PEER_LIST | FULL_NODE, user_agent: "MW/Grin 0.1.20171204", version: 1, addr: V4(24.7.36.144:13414), total_difficulty: Difficulty { num: 132160103 } }
Dec 05 08:03:08.524 INFO Client 165.227.63.166:13414 disconnected.
Dec 05 08:03:13.732 INFO Client 159.89.0.180:13414 connection lost: Timeout
Dec 05 08:03:14.341 INFO Client 24.7.36.144:13414 connection lost: Timeout
Dec 05 08:03:14.530 INFO Client 165.227.63.166:13414 connection lost: Timeout
Dec 05 08:03:23.797 INFO Client 138.68.178.20:13414 connection lost: Timeout
Dec 05 08:03:24.128 INFO Client 174.138.116.153:13414 connection lost: Timeout
Dec 05 08:03:26.757 INFO Client 165.227.63.166:13414 connection lost: Timeout
Dec 05 08:03:33.535 INFO Client 138.68.178.20:13414 connection lost: Timeout
Dec 05 08:03:34.421 INFO Client 165.227.63.166:13414 connection lost: Timeout
View wallet.log
Nov 30 20:36:36.787 DEBG Received coinbase and built candidate output - Identifier(73b9e02a38efe0dd353f), Identifier(55da3d1aa6f97a31a1c7), 2077
Nov 30 20:36:36.787 DEBG block_fees - BlockFees { fees: 0, height: 8187, key_id: None }
Nov 30 20:36:36.787 DEBG block_fees updated - BlockFees { fees: 0, height: 8187, key_id: Some(Identifier(55da3d1aa6f97a31a1c7)) }
Nov 30 20:37:49.987 INFO Acquiring wallet lock ...
Nov 30 20:37:49.987 DEBG Attempting to acquire wallet lock
Nov 30 20:37:50.259 INFO ... released wallet lock
Nov 30 20:37:50.259 DEBG Received coinbase and built candidate output - Identifier(73b9e02a38efe0dd353f), Identifier(31eccad3fef7ef1a9c49), 2078
Nov 30 20:37:50.259 DEBG block_fees - BlockFees { fees: 0, height: 8188, key_id: None }
Nov 30 20:37:50.259 DEBG block_fees updated - BlockFees { fees: 0, height: 8188, key_id: Some(Identifier(31eccad3fef7ef1a9c49)) }
You can’t perform that action at this time.