malefice
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 04, 2014, 08:29:13 PM |
|
i changed install-sx.sh to compile for testnet, but it seems not to work. ./configure --enable-testnet --enable-leveldb --prefix $INSTALL_PREFIX at github there is a reference to -DENABLE_TESTNET for CFLAGS https://github.com/spesmilo/sx/issues/9I dont know C, could you explain what I need to do to have sx enabled for testnet?
|
|
|
|
jbis1
Newbie
Offline
Activity: 50
Merit: 0
|
|
January 05, 2014, 01:05:26 AM |
|
I changed the first line of Makefile.am. Old: AM_CPPFLAGS = ${libbitcoin_CFLAGS} ${libwallet_CFLAGS} New: AM_CPPFLAGS = ${libbitcoin_CFLAGS} ${libwallet_CFLAGS} -DENABLE_TESTNET Then compile as normal (./configure; make; sudo make install). Now mktx doesn't complain when I create a transaction with an address that begins with m. I have not tested beyond that.
|
|
|
|
malefice
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 05, 2014, 11:55:51 AM |
|
@jbs1
truth is that it still operates on the main block chain, e.g. sx history
|
|
|
|
jbis1
Newbie
Offline
Activity: 50
Merit: 0
|
|
January 05, 2014, 04:48:14 PM |
|
Yes, but if you point to a Testnet obelisk server in your sx.cfg file, it should fix that. The list of servers is at https://wiki.unsystem.net/index.php/Obelisk/Servers. There is one Testnet server listed and it appears to not be working for me.
|
|
|
|
malefice
Newbie
Offline
Activity: 37
Merit: 0
|
|
January 05, 2014, 07:23:49 PM |
|
Thanks jbis1 tried to guesswork and compile obelisk wih -DENABLE_TESTNET. No chance. And this is all the documentation I have: cat /usr/local/share/doc/obelisk/* | grep testnet https://wiki.unsystem.net/index.php/ObeliskAt this point I consider moving to bitcoinj - after all I'm looking for the easiest way to work with transactions. thx, malefice
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
January 12, 2014, 10:58:07 PM |
|
I'd just like to announce that I'm running an Obelisk server with the publisher enabled on ottrbutt.com, default ports.
added to wiki feel free to make an account and let me know username
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
January 16, 2014, 11:32:30 AM Last edit: January 16, 2014, 12:29:33 PM by genjix |
|
btw sx supports new stealth address payments: https://wiki.unsystem.net/index.php/Sx/Stealthstill waiting for others to finalise the address scheme, but the basic kit is there. many thanks jeremy spillman, peter todd and others!
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
January 16, 2014, 02:50:48 PM |
|
WARNING: I just upgraded libbitcoin to new style compressed public keys. This will produce incompatibility with generating addresses on old-style Electrum deterministic wallets. Generating private keys is still fine, but the addresses will look different. I suggest moving funds off your wallet before upgrading and then moving them back after.
Anyone who needs the old style uncompressed keys, can use the latest libbitcoin tarball release off the website rather than the Git repo.
|
|
|
|
ShadowOfHarbringer
Legendary
Offline
Activity: 1470
Merit: 1006
Bringing Legendary Har® to you since 1952
|
|
January 16, 2014, 03:03:08 PM |
|
This page has invalid SSL certificate. Can you copy/paste the certificate fingerprint, so I can add it to permanent exceptions ?
|
|
|
|
marcus_of_augustus
Legendary
Offline
Activity: 3920
Merit: 2349
Eadem mutata resurgo
|
|
January 16, 2014, 10:07:49 PM |
|
|
|
|
|
|
99Percent
Full Member
Offline
Activity: 410
Merit: 101
🦜| Save Smart & Win 🦜
|
|
March 09, 2014, 07:53:41 AM |
|
for those doing install on a fresh Linux Mint or Ubuntu machine run this before trying to install from the install-sx.sh script sudo apt-get install ncurses-dev libconfig++-dev libzmq-dev libleveldb-dev libboost-dev build-essential g++ libcurl4-gnutls-dev dh-autoreconf git
It will satisfy many dependencies needed to build sx though probably not all.
|
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1446
|
|
March 11, 2014, 02:58:47 AM |
|
for those doing install on a fresh Linux Mint or Ubuntu machine run this before trying to install from the install-sx.sh script sudo apt-get install ncurses-dev libconfig++-dev libzmq-dev libleveldb-dev libboost-dev build-essential g++ libcurl4-gnutls-dev dh-autoreconf git
It will satisfy many dependencies needed to build sx though probably not all. you do realize a full list of dependencies is in the installation script, right? echo "Ubuntu/Debian users require the following packages:" echo "git build-essential autoconf libtool libboost-all-dev" echo "pkg-config libcurl4-openssl-dev libleveldb-dev" echo "libzmq-dev libconfig++-dev libncurses5-dev" echo echo "Fedora/Redhat users require the following packages:" echo "gcc-c++ git autoconf libtool boost-devel pkgconfig" echo "libcurl-devel openssl-devel leveldb-devel zeromq" echo "zeromq3 zeromq-devel libconfig libconfig-devel" echo "ncurses-devel" echo "and a package group called 'Development Tools'." tl;dr sudo apt-get git build-essential autoconf libtool libboost-all-dev pkg-config libcurl4-openssl-dev libleveldb-dev libzmq-dev libconfig++-dev libncurses5-dev
|
|
|
|
luv2drnkbr
|
|
March 11, 2014, 05:38:07 AM |
|
I also always get errors about ecdsa and some other python stuff when I install SX on a new Ubunutu. So I'd add sudo apt-get install python-pip sudo pip install ecdsa to the "do before you install SX" guide. I also had trouble with zmq and I don't remember which thing I had to install to stop getting that error. It may have been "pip install zeroqm" but I honestly don't remember. I know that that zmq error took me a few minutes to solve. (I'm new to Linux, so I have to look up literally everything.) I just know the default libzmq-dev package wasn't enough and I had to install some other zmq thing. As always, Google is your friend, and other people have had similar errors. Even if there's no SX-specific posts about it, somebody has had that module missing for something else and posted about it.
|
|
|
|
99Percent
Full Member
Offline
Activity: 410
Merit: 101
🦜| Save Smart & Win 🦜
|
|
March 12, 2014, 12:15:48 AM |
|
I did not realize it. Because it is echo-ed right at the beginning it quickly gets lost after a lot of building and compilation output. Perhaps it would be better to just issue a apt-get command to install all the required packages when ubuntu type linux is detected? Better yet, why not just make a dpkg for those doing install on a fresh Linux Mint or Ubuntu machine run this before trying to install from the install-sx.sh script sudo apt-get install ncurses-dev libconfig++-dev libzmq-dev libleveldb-dev libboost-dev build-essential g++ libcurl4-gnutls-dev dh-autoreconf git
It will satisfy many dependencies needed to build sx though probably not all. you do realize a full list of dependencies is in the installation script, right? echo "Ubuntu/Debian users require the following packages:" echo "git build-essential autoconf libtool libboost-all-dev" echo "pkg-config libcurl4-openssl-dev libleveldb-dev" echo "libzmq-dev libconfig++-dev libncurses5-dev" echo echo "Fedora/Redhat users require the following packages:" echo "gcc-c++ git autoconf libtool boost-devel pkgconfig" echo "libcurl-devel openssl-devel leveldb-devel zeromq" echo "zeromq3 zeromq-devel libconfig libconfig-devel" echo "ncurses-devel" echo "and a package group called 'Development Tools'." tl;dr sudo apt-get git build-essential autoconf libtool libboost-all-dev pkg-config libcurl4-openssl-dev libleveldb-dev libzmq-dev libconfig++-dev libncurses5-dev
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
March 12, 2014, 12:47:05 AM |
|
Sorry about this. The install script should install those packages but the build stuff for sx and the rest of the libbitcoin-related tools need some work.
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
March 12, 2014, 05:14:52 PM |
|
Hey everyone, The new Obelisk has support for server-client encryption and signing using ed25519 crypto. The client can specify a key, and the server can specify which client pubkeys it will accept (or all) and a whitelist of IP addresses. See this config file for reference: https://github.com/spesmilo/obelisk/blob/master/src/worker/worker.cfg#L24The install-sx.sh script will be broken because of new dependencies .etc so I will fix it now. Sorry for any difficulties.
|
|
|
|
gwlloyd
Newbie
Offline
Activity: 50
Merit: 0
|
|
March 16, 2014, 12:39:01 AM |
|
I'm now on my fifth attempt using 2 different servers (one a pretty much clean Debian VM and one an established server).. every time I get nearly to the end of the blockchain sync it just seems to sit around not receiving new blocks and spewing reams of errors such as below. I'm assuming blockchain database corruption but it always seems to be somewhere in the 27#### block range (I've just noticed this). Is this normal? Is there maybe something about this range of blocks, was that when someone was spamming the blockchain? Getting a bit frustrated here sapping so much time and bandwidth and still haven't got a sync'd copy to play with. I don't want to download a torrent copy.
WARNING: Error storing memory pool transaction c0c958698d61b260a885115a7e2ccec1a25c8a121c0da9ec6165f0ce11920c9b: Spent input not found
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
March 16, 2014, 11:59:14 AM |
|
I'm now on my fifth attempt using 2 different servers (one a pretty much clean Debian VM and one an established server).. every time I get nearly to the end of the blockchain sync it just seems to sit around not receiving new blocks and spewing reams of errors such as below. I'm assuming blockchain database corruption but it always seems to be somewhere in the 27#### block range (I've just noticed this). Is this normal? Is there maybe something about this range of blocks, was that when someone was spamming the blockchain? Getting a bit frustrated here sapping so much time and bandwidth and still haven't got a sync'd copy to play with. I don't want to download a torrent copy.
WARNING: Error storing memory pool transaction c0c958698d61b260a885115a7e2ccec1a25c8a121c0da9ec6165f0ce11920c9b: Spent input not found
Nope it looks fine. Those errors aren't a problem. Example: memory pool isn't full yet and there's txs depending on other txs in the mempool that aren't yours. It's normal. I'll make the wording sound less extreme. Important is that you're able to run 'sx fetch-last-height' and the block height matches blockchain.info or somewhere else. I need to document these tools better. Sorry about that. I'll be making efforts towards that goal as documentation is important.
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
March 16, 2014, 01:20:09 PM |
|
If anyone is using unSYSTEM Obelisk servers, then they will be upgraded today (Sun 16 March). If you experience problems with the new unSYSTEM servers, then upgrade SX: $ wget http://sx.dyne.org/install-sx.sh $ sudo bash install-sx.sh or $ wget http://sx.dyne.org/install-sx.sh $ bash install-sx.sh /home/genjix/usr/ You also have the option to run a different server with an older version of Obelisk, although I'll be encouraging operators to upgrade soon. List of servers: https://wiki.unsystem.net/index.php/Obelisk/Servers - let me know if you have a server to add to the list.
|
|
|
|
|