Pages:
Author

Topic: sx command line utilities - Empower The Sysadmin With Bitcoin Tools - page 4. (Read 240157 times)

sd
hero member
Activity: 730
Merit: 500
It's working great for me now. Thanks genjix.
legendary
Activity: 1232
Merit: 1076
Hi,

We will keep the master branch for periodic merges with some guarantee of stability for our users.

Development will happen on the develop branch.

This is a simplified version of the git-flow branching model:

   http://nvie.com/posts/a-successful-git-branching-model/

We can adopt the fuller scheme later if need be.
legendary
Activity: 1232
Merit: 1076
legendary
Activity: 1232
Merit: 1076
you need to build czmq with libsodium and use 4.0

What do you mean, use 4.0?

if you check out the install script: http://sx.dyne.org/install-sx.sh it should make more sense what's needed to build all.
legendary
Activity: 1232
Merit: 1076
you need to build czmq with libsodium and use 4.0
legendary
Activity: 1232
Merit: 1076
sorry guys for the delay as I've been at the bitcoin expo this weekend: http://bitcoinexpo.ca/

ok I've fixed the issue in git.

going forwards we are going to switch to the git flow model, therefore there will be a stable master and an unstable develop branch. http://nvie.com/posts/a-successful-git-branching-model/
this will ensure breaking changes made during development don't impact people's ability to use the repo as a user.
newbie
Activity: 12
Merit: 0
newbie
Activity: 7
Merit: 3
I'm going to setup a VPS and test.

Please do Amir, I can't broadcast transactions on sx because of this problem... it's the last thing I need to implement on the sx GUI.

This is where the sx GUI is up to:

http://s27.postimg.org/wehwwkcgz/GUI_3.png

Edit: Grammar... it was late at night.
legendary
Activity: 1232
Merit: 1076
I'm going to setup a VPS and test.
sd
hero member
Activity: 730
Merit: 500
Code:
root@sx:~# sx fetch-last-height
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

I have that too with the latest sx from git. Ubuntu 13.10 x86_64.

Is this fixed somewhere or should I hack the code?
newbie
Activity: 7
Merit: 3
Hi folks,

  • I've created a simple GUI for SX using Zenity that you can find: https://github.com/spesmilo/sx/tree/master/tools
  • The README.md has some detailed instructions for installing SX and some other dependencies if you want to do stealth addresses.
  • My plan is to add all of the major functions of SX into this simple GUI... so far I've done stealth addresses and creating 2/3 multisignature addresses.
  • Definitely more work to be done!

Here is a screenshot:

http://s28.postimg.org/4pk74rfdp/GUI_3.png

-- drwasho
newbie
Activity: 7
Merit: 3
fixed.

Installation was smooth but the error remains:

Code:
root@sx:~# sx fetch-last-height
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

In the meanwhile I was able to set up a working sx with the following script:

https://github.com/mastercoin-MSC/install-msc/blob/master/res/install-sx.sh

Which seems to use the following commits:

https://github.com/spesmilo/libwallet/commit/21447cc
https://github.com/spesmilo/libbitcoin/commit/335489f
https://github.com/spesmilo/obelisk/commit/58f326d
https://github.com/spesmilo/sx/commit/a97f7be

I've had the same problem. Latest version of Ubuntu.
legendary
Activity: 1106
Merit: 1026
legendary
Activity: 1232
Merit: 1076
Which OS? 32bit or 64bit?

I will setup a VM and test once I know that info.
legendary
Activity: 1106
Merit: 1026
fixed.

Installation was smooth but the error remains:

Code:
root@sx:~# sx fetch-last-height
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

In the meanwhile I was able to set up a working sx with the following script:

https://github.com/mastercoin-MSC/install-msc/blob/master/res/install-sx.sh

Which seems to use the following commits:

https://github.com/spesmilo/libwallet/commit/21447cc
https://github.com/spesmilo/libbitcoin/commit/335489f
https://github.com/spesmilo/obelisk/commit/58f326d
https://github.com/spesmilo/sx/commit/a97f7be
legendary
Activity: 1232
Merit: 1076
legendary
Activity: 1232
Merit: 1076
ok, investigating this.

Thanks a lot. I'm using Digital Ocean as hoster, if this helps and if you like, I'll set up a fresh droplet for some tests.

yep a regression has been introduced. if you know how to use git you can revert to this commit in libbitcoin which works:
ae5f9b3
legendary
Activity: 1106
Merit: 1026
ok, investigating this.

Thanks a lot. I'm using Digital Ocean as hoster, if this helps and if you like, I'll set up a fresh droplet for some tests.
legendary
Activity: 1232
Merit: 1076
ok, investigating this.
legendary
Activity: 1106
Merit: 1026
I tried Ubuntu 13.10 x64, Ubuntu 12.04.3 x64, Debian 7.0 x64, Arch Linux 2013.05 x64 and Fedora 19 x64.

The installation process was close to https://github.com/mastercoin-MSC/omniwallet#setup.

I used droplets with 1 GB RAM.

To confirm I'm not missing something very, very essential:

After a basis setup with apt-get updates etc. running the install script should be sufficient to get results from sx without setting up an obelisk server, correct?

Edit: Error remains. This time with a 4 GB Ubuntu 13.10 x64 box and libboost1.54-dev.

Edit 2: Running an Obelisk worker fails at some point:

Code:
INFO [poller]: Block #495 00000000e47349de5a0193abc5a2fe0be81cb1d1987e45ab85f3289d54cddc4d
INFO [poller]: Block #496 00000000b0c5a240b2a61d2e75692224efd4cbecdf6eaf4cc2cf477ca7c270e7
INFO [poller]: Block #497 00000000c39ea29ad310c1f80409e24b3fbfd671c0b3599198b7cfdebf790bde
INFO [poller]: Block #498 00000000693a6d6b068cab3e207d570764f6bad293e3e98920246eeda81c496a
INFO [poller]: Block #499 00000000806df68baab17e49e567d4211177fef4849ffd8242d095c6a1169f45
INFO [poller]: Block #500 000000004ff664bfa7d217f6df64c1627089061429408e1da5ef903b8f3c77db
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)
Pages:
Jump to: