Skip to content

Instantly share code, notes, and snippets.

View Gustav-Simonsson's full-sized avatar
💭
tuning into the gpu coil whine

Gustav-Simonsson

💭
tuning into the gpu coil whine
View GitHub Profile
=== RUN TestStateTestsRandom
FUNKY: 2015-07-27 04:56:34.182854591 +0200 CEST randomStatetest2
I0727 04:56:34.183002 48981 statedb.go:246] (+) 4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82
I0727 04:56:34.183025 48981 state_object.go:230] 4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82: gas (+ 1478962728)
I0727 04:56:34.187792 48981 state_object.go:206] a94f5374fce5edbc8e2a8697c15331677e6ebf0b: #0 5237518281936388156 (- 485615357772210072)
I0727 04:56:34.187867 48981 state_object.go:206] a94f5374fce5edbc8e2a8697c15331677e6ebf0b: #1 5237518281321687269 (- 614700887)
I0727 04:56:34.187878 48981 state_object.go:198] 095e7baea6a6c7c4c2dfeb977efac326af552d87: #254 711702023 (+ 614700887)
I0727 04:56:34.187977 48981 statedb.go:246] (+) 00000000002147c39fd6b5c19b7b89fc003e6b16
I0727 04:56:34.187995 48981 state_object.go:198] 00000000002147c39fd6b5c19b7b89fc003e6b16: #0 711702023 (+ 711702023)
I0727 04:56:34.188003 48981 state_object.go:133] 095e7baea6a6c7c4c2dfeb977efac326af552d87: #254 711702023 X
Running 1 test case...
 ℹ 04:56:18|testeth Testing user defined test: /home/gs/eth/tests/StateTests/RandomTests/st201507231150PYTHON.json
randomStatetest2
EVM 04:56:18|testeth
STACK
MEMORY
STORAGE

EVM 04:56:18|testeth < 0 : @095e7bae… : #0 : 0 : PUSH32 : 1003940057 : -3 : 0x32 >
EVM 04:56:18|testeth
04:08:41 batman ~/gopath/src/github.com/ethereum/go-ethereum/cmd/geth> sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +95.0°C)
temp2: +29.8°C (crit = +95.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +38.0°C (high = +90.0°C, crit = +94.0°C)
Core 0: +27.0°C (high = +90.0°C, crit = +94.0°C)
14:37:17 ((detached from origin/develop)) ~/eth/cpp-ethereum/build
> ./test/testeth -t StateTests/userDefinedFileState --singletest /home/gs/eth/tests/StateTests/stPreCompiledContracts.json CallEcrecover80 --vmtrace
Running 1 test case...
ℹ 14:37:22|testeth Testing user defined test: /home/gs/eth/tests/StateTests/stPreCompiledContracts.json
CallEcrecover80
EVM 14:37:22|testeth
STACK
MEMORY
STORAGE
Building CXX object libethereum/CMakeFiles/ethereum.dir/Precompiled.cpp.o
/home/gs/eth/cpp-ethereum/libethereum/Precompiled.cpp: In function ‘void {anonymous}::ecrecoverCode(dev::bytesConstRef, dev::bytesRef)’:
/home/gs/eth/cpp-ethereum/libethereum/Precompiled.cpp:58:26: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘dev::SignatureStruct’)
cout << "HURR: " << sig;
^
/home/gs/eth/cpp-ethereum/libethereum/Precompiled.cpp:58:26: note: candidates are:
In file included from /usr/include/c++/4.8/iostream:39:0,
from /usr/include/boost/assert.hpp:82,
from /usr/include/boost/functional/hash/detail/hash_float.hpp:19,
from /usr/include/boost/functional/hash/hash.hpp:15,
FUNKY: test name: CallEcrecoverR_prefixed0
I0608 17:11:37.767728 9698 statedb.go:232] (+) 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
I0608 17:11:37.767792 9698 state_object.go:241] 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba: gas (+ 10000000)
I0608 17:11:37.767830 9698 state_object.go:205] a94f5374fce5edbc8e2a8697c15331677e6ebf0b: #0 999999999996347760 (- 3652240)
I0608 17:11:37.767898 9698 state_object.go:205] a94f5374fce5edbc8e2a8697c15331677e6ebf0b: #1 999999999996247760 (- 100000)
I0608 17:11:37.767933 9698 state_object.go:197] 095e7baea6a6c7c4c2dfeb977efac326af552d87: #0 20100000 (+ 100000)
I0608 17:11:37.767958 9698 vm.go:886] (1) (a94f5374) 095e7baea6a6c7c4c2dfeb977efac326af552d87 (code=152) gas: 3631240 (d)
I0608 17:11:37.767985 9698 vm.go:886] (pc) 0 -o- PUSH32 (m) 0 (s) 0 (g) 3 (3631240) => 0x18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c
I0608 17:11:37.768026 9698 vm.go:886] (pc) 33 -o- PUSH1 (m) 0 (s) 1 (g) 3 (3631237) => 0
=== RUN TestStatePreCompiledContracts
I0608 16:33:55.980740 8355 statedb.go:232] (+) 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
I0608 16:33:55.980833 8355 state_object.go:241] 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba: gas (+ 10000000)
I0608 16:33:55.980874 8355 state_object.go:205] a94f5374fce5edbc8e2a8697c15331677e6ebf0b: #0 999999999996347760 (- 3652240)
I0608 16:33:55.980921 8355 state_object.go:205] a94f5374fce5edbc8e2a8697c15331677e6ebf0b: #1 999999999996247760 (- 100000)
I0608 16:33:55.980954 8355 state_object.go:197] 095e7baea6a6c7c4c2dfeb977efac326af552d87: #0 20100000 (+ 100000)
I0608 16:33:55.980979 8355 vm.go:886] (1) (a94f5374) 095e7baea6a6c7c4c2dfeb977efac326af552d87 (code=150) gas: 3631240 (d)
I0608 16:33:55.981009 8355 vm.go:886] (pc) 0 -o- PUSH31 (m) 0 (s) 0 (g) 3 (3631240) => 0xc547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c
I0608 16:33:55.981025 8355 vm.go:886] (pc) 32 -o- PUSH1 (m) 0 (s) 1 (g) 3 (3631237) => 0x00
I060
18:14:50 (master) ~/go/src/github.com/Gustav-Simonsson/go-opencl/cl
> go build -v -x
WORK=/tmp/go-build843416135
github.com/Gustav-Simonsson/go-opencl/cl
mkdir -p $WORK/github.com/Gustav-Simonsson/go-opencl/cl/_obj/
mkdir -p $WORK/github.com/Gustav-Simonsson/go-opencl/
cd /home/gs/go/src/github.com/Gustav-Simonsson/go-opencl/cl
CGO_LDFLAGS="-g" "-O2" /home/gs/golang/pkg/tool/linux_amd64/cgo -objdir $WORK/github.com/Gustav-Simonsson/go-opencl/cl/_obj/ -- -I $WORK/github.com/Gustav-Simonsson/go-opencl/cl/_obj/ -I/opt/opencl-headers/include cl.go context.go device.go kernel.go platform.go program.go queue.go types.go
/home/gs/golang/pkg/tool/linux_amd64/6c -F -V -w -trimpath $WORK -I $WORK/github.com/Gustav-Simonsson/go-opencl/cl/_obj/ -I /home/gs/golang/pkg/linux_amd64 -o $WORK/github.com/Gustav-Simonsson/go-opencl/cl/_obj/_cgo_defun.6 -D GOOS_linux -D GOARCH_amd64 $WORK/github.com/Gustav-Simonsson/go-opencl/cl/_obj/_cgo_defun.c
gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -print-libgcc-file-name
{
"Crypto": {
"cipher": "aes-128-cbc",
"cipherparams": {
"iv": "6e38e8499d80916a6767a0c1c70a8cc8"
},
"ciphertext": "6984bc36d8e3e1d9048ee2f2a05be092ca690de8b487fcb0f3b166900b3d960a71cd752f39af26c6cb5db8ca06a524a3",
"kdf": "scrypt",
"kdfparams": {
"dklen": 32,
package secp256k1
/*
#include "./secp256k1/include/secp256k1.h"
*/
import "C"
import ()