BlackCoin (BLK/BC) |Born: 24 Feb 2014| PoS | No premine | No IPO

janko33

Member
Jun 2, 2016
32
1
Blackcoin based on bitcoin ver. 0.12.1 STAKED !

BlackCoin daemon based on bitcoin version 0.12.1-bitcore
stake-able (blocks can be generated, same as old daemon)
https://github.com/janko33bd/bitcoin/blob/0.12.1-blackcore-unstable

1st block, containing tx mineable only using 0.12 client
https://chainz.cryptoid.info/blk/block.dws?1614579.htm
fees missing

2nd block, clean, with fees
https://chainz.cryptoid.info/blk/block.dws?24c2f77676e25bc4e03895649311048e9bd28e66e712ce5d1f5f9df90252ff92.htm
 

janko33

Member
Jun 2, 2016
32
1
bitcoin 0.12.1 changed to Blackcoin POS, building blocks with weight 15000 BLK on mainnet.
 

janko33

Member
Jun 2, 2016
32
1
Building libraries for linux works, wallet stakes, sends and receives BLK...

This is the error I get when cross-compiling for Windows on ubuntu 14.04 Trusty

ONLY Windows.

Code:
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl
sudo apt-get install g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
Then build using:

Code:
cd depends
make HOST=x86_64-w64-mingw32
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32
make

Error:
Code:
make[3]: Entering directory `/home/janko33/bitcoin/src/secp256k1'
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
gcc gen_context.o -o gen_context
./gen_context
  CC  src/libsecp256k1_la-secp256k1.lo
  CCLD  libsecp256k1.la
libtool: link: warning: undefined symbols not allowed in i686-w64-mingw32 shared libraries
make[3]: Leaving directory `/home/janko33/bitcoin/src/secp256k1'
  CXXLD  libbitcoinconsensus.la
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x28): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0xe4): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0xec): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x180): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x1b5): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x1ce): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x1e4): undefined reference to `SHA256_Final'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x1ec): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x288): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x290): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x344): undefined reference to `SHA256_Final'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x358): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x364): undefined reference to `SHA256_Final'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x428): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x4c4): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x58b): undefined reference to `SHA256_Update'
collect2: error: ld returned 1 exit status
make[2]: *** [libbitcoinconsensus.la] Error 1
make[2]: Leaving directory `/home/janko33/bitcoin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/janko33/bitcoin/src'
make: *** [all-recursive] Error 1