Skip to content

Instantly share code, notes, and snippets.

CMake Error at CMakeLists.txt:35 (include):
include could not find load file:
EthDependencies
CMake Error at CMakeLists.txt:38 (include):
include could not find load file:
EthCompilerSettings
import com.google.bitcoin.uri.BitcoinURI;
String uri = BitcoinURI.convertToBitcoinURI(address,
output.getValue(),
"very currency",
"such profit");
package main
import (
"fmt"
"time"
"math"
"code.google.com/p/go.crypto/scrypt"
)
func main() {
package secp256k1
/*
#include "./secp256k1/include/secp256k1.h"
*/
import "C"
import ()
{
"Crypto": {
"cipher": "aes-128-cbc",
"cipherparams": {
"iv": "6e38e8499d80916a6767a0c1c70a8cc8"
},
"ciphertext": "6984bc36d8e3e1d9048ee2f2a05be092ca690de8b487fcb0f3b166900b3d960a71cd752f39af26c6cb5db8ca06a524a3",
"kdf": "scrypt",
"kdfparams": {
"dklen": 32,
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
=== 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
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
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,
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