Skip to content

Instantly share code, notes, and snippets.

=== CONT TestBootstrapMineOnce
=== CONT TestSingleMiner
2020-03-13T15:51:52.876Z INFO iptbtester iptbtester/wrapper.go:38 Creating IPTB Testbed. count: 1, type: localfilecoin, dir: iptb-testnode
2020-03-13T15:51:53.027Z INFO badger v2@v2.0.1-rc1.0.20200120142413-c3333a5a830e/logger.go:46 All 1 tables opened in 0s
2020-03-13T15:51:53.027Z INFO badger v2@v2.0.1-rc1.0.20200120142413-c3333a5a830e/logger.go:46 Replaying file id: 0 at offset: 284
2020-03-13T15:51:53.027Z INFO badger v2@v2.0.1-rc1.0.20200120142413-c3333a5a830e/logger.go:46 Replay took: 7.478µs
2020-03-13T15:51:53.029Z INFO test functional-tests/mining_chain_test.go:49 Owner/worker address: t3qx4zrflimpjboxn3ivs6t4eel7frijxhcdvae6z6dtnocvz54yeop2kfdxggn7dfhl72cqqhsf6nf5fgkl3a
//+build cgo
package ffi
import (
"encoding/json"
"fmt"
"os"
"runtime"
"unsafe"
2020-03-10T15:58:10.950-0700 INFO storageminer go-storage-miner@v0.0.0-20200306175903-c9c02ebe51a2/miner.go:101 starting up miner t0106, worker addr t3qx4zrflimpjboxn3ivs6t4eel7frijxhcdvae6z6dtnocvz54yeop2kfdxggn7dfhl72cqqhsf6nf5fgkl3a
2020-03-10T15:58:24.004-0700 INFO mining mining/worker.go:165 Worker.Mine
thread '<unnamed>' panicked at 'index 26122676 out of range for slice of length 22887530', src/libcore/slice/mod.rs:2664:5
stack backtrace:
0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
1: core::fmt::write
2: std::io::Write::write_fmt
3: std::panicking::default_hook::{{closure}}
4: std::panicking::default_hook
5: std::panicking::rust_panic_with_hook
@anorth
anorth / gist:63cb99c38951f9c69d72d1fb5d2a8822
Created September 19, 2019 05:56
Message log from 0.5.3 (flat)
This file has been truncated, but you can view the full file.
{"Message":{"meteredMessage":{"message":{"to":"t2uc6ymvo53mbro5x267oicatpuw2zacnqbtggr4i","from":"t1ikupsoa4g466dcdhpvt4xztpqfr3vnd2rf4gzny","nonce":"3","value":"0","method":"updatePeerID","params":"gVgiEiDbXbBmGs1XgNWvOhNU42yekJfMBSr7U4fZYPsDbHxqFQ=="},"gasPrice":"0.000000001","gasLimit":"300"},"signature":"zEummenNos1n2fhdMV28nrICyGo9Klg476iSnPAlPLQeuz2l5AcugxSrOWIfUI8VGWQkWIc0x/SE82GdymlpfQA="},"Receipt":{"exitCode":0,"return":null,"gasAttoFIL":"0.0000001"}}
{"Message":{"meteredMessage":{"message":{"to":"t1b7gaywmle32xabpmtncb62otlgcfu5o335cb3vq","from":"t1ikupsoa4g466dcdhpvt4xztpqfr3vnd2rf4gzny","nonce":"4","value":"100","method":"","params":null},"gasPrice":"0.000000001","gasLimit":"300"},"signature":"BVAgfyGjWyUtA0X1vq9Ogv2QBnw6gafa8nX/oOL7Hlg3m5CXmLAXzhGfxKOpA6V74WJA8CVNLY/7rwmIgUpUJwA="},"Receipt":{"exitCode":0,"return":null,"gasAttoFIL":"0"}}
{"Message":{"meteredMessage":{"message":{"to":"t02","from":"t1b7gaywmle32xabpmtncb62otlgcfu5o335cb3vq","nonce":"0","value":"10","method":"createStorageMiner","p
{
"Message": {
"meteredMessage": {
"message": {
"to": "t2x7663pmextbfmeklta5axwlocucy5ew3s6vupoq",
"from": "t1zjo5rlfzpbbvcawr7d5hi42xgc5wt3i4hjpwq3y",
"nonce": "3",
"value": "0",
"method": "updatePeerID",
"params": "gVgiEiDbXbBmGs1XgNWvOhNU42yekJfMBSr7U4fZYPsDbHxqFQ=="
@anorth
anorth / staging-0.5.0 chain validation log
Created September 16, 2019 01:00
Node log from chain validation of staging-0.5.0 network
10:50:39.482 INFO chain.sync: processing block 0 of 4762 for chain with head at { bafy2bzacecft6fvsl5oyzucke6mvizadqnan6gh6m6cg6aog73xxluir2fkge } syncer.go:426
10:50:46.719 INFO chain.sync: processing block 500 of 4762 for chain with head at { bafy2bzacecft6fvsl5oyzucke6mvizadqnan6gh6m6cg6aog73xxluir2fkge } syncer.go:426
10:50:49.883 INFO chain.sync: processing block 1000 of 4762 for chain with head at { bafy2bzacecft6fvsl5oyzucke6mvizadqnan6gh6m6cg6aog73xxluir2fkge } syncer.go:426
10:50:50.120 INFO consensus.: ApplyMessage failed: PoSt proof did not validate SignedMessage cid=[bafy2bzacebm6dwpx4pml5zieiptcm7npn63zbgwi2qgngxmm4pdvdkt5rpxku]: {
"meteredMessage": {
"message": {
"to": "t2kp7snr2jfamhxsbsjuyc3w3ewrepfjt6q4wtv6a",
"from": "t1qa7wlp3egh2n74d53ozsxfxim6prstywtan5rni",
"nonce": "4",
"value": "0",
@anorth
anorth / ZoomLayout.java
Created March 29, 2014 00:06
Pinch-zoomable Android frame layout
package au.id.alexn;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.ScaleGestureDetector;
import android.view.View;
import android.widget.FrameLayout;