Bitcoin Forum
May 04, 2024, 02:03:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 »  All
  Print  
Author Topic: sx command line utilities - Empower The Sysadmin With Bitcoin Tools  (Read 240148 times)
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 05, 2014, 04:53:25 PM
 #121

ok, investigating this.
1714831384
Hero Member
*
Offline Offline

Posts: 1714831384

View Profile Personal Message (Offline)

Ignore
1714831384
Reply with quote  #2

1714831384
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
dexX7
Legendary
*
Offline Offline

Activity: 1106
Merit: 1024



View Profile WWW
April 06, 2014, 09:20:20 AM
 #122

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.

genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 06, 2014, 02:09:30 PM
 #123

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
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 06, 2014, 03:47:41 PM
 #124

fixed.
dexX7
Legendary
*
Offline Offline

Activity: 1106
Merit: 1024



View Profile WWW
April 06, 2014, 06:45:25 PM
 #125

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

genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 07, 2014, 02:55:21 PM
 #126

Which OS? 32bit or 64bit?

I will setup a VM and test once I know that info.
dexX7
Legendary
*
Offline Offline

Activity: 1106
Merit: 1024



View Profile WWW
April 07, 2014, 04:13:13 PM
 #127

Ubuntu 12.10 x64

drwasho
Newbie
*
Offline Offline

Activity: 7
Merit: 3


View Profile WWW
April 08, 2014, 01:22:50 AM
 #128

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.
drwasho
Newbie
*
Offline Offline

Activity: 7
Merit: 3


View Profile WWW
April 08, 2014, 01:30:58 AM
 #129

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
sd
Hero Member
*****
Offline Offline

Activity: 730
Merit: 500



View Profile
April 09, 2014, 03:10:09 PM
 #130

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?
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 09, 2014, 11:25:48 PM
 #131

I'm going to setup a VPS and test.
drwasho
Newbie
*
Offline Offline

Activity: 7
Merit: 3


View Profile WWW
April 14, 2014, 03:18:30 AM
Last edit: April 14, 2014, 02:31:53 PM by drwasho
 #132

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.
Lisa Sheridan
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
April 14, 2014, 07:56:56 AM
 #133

investigating
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 15, 2014, 01:47:05 PM
Last edit: April 15, 2014, 02:07:18 PM by genjix
 #134

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.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 15, 2014, 05:02:56 PM
 #135

you need to build czmq with libsodium and use 4.0
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 15, 2014, 06:27:11 PM
 #136

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.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 15, 2014, 07:41:39 PM
 #137

added an example showing 3 of 5 multisignature

http://sx.dyne.org/multisig.html#generalizing-for-m-of-n-expressions
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 16, 2014, 12:47:18 AM
 #138

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.
sd
Hero Member
*****
Offline Offline

Activity: 730
Merit: 500



View Profile
April 16, 2014, 09:23:27 AM
 #139

It's working great for me now. Thanks genjix.
genjix (OP)
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
April 16, 2014, 05:54:30 PM
Last edit: April 16, 2014, 06:16:56 PM by genjix
 #140

My Obelisk server is syncing, and with 4GB of RAM on my VPS, it's STILL getting whacked by the OOM killer. Could you possibly do something about that?

OK, we should have a fix for this (things should drop blocks not go OOM) but it isn't easy.

Use an SSD, not a spinning disk. It isn't built for spinning disk.

Eventually we should have a way to distribute the blockchain, and I'm looking for good suggestions for how people could download it from a server. I'm sure people wouldn't appreciate untarring many gigabytes.

BTW obelisk.unsystem.net is running for the public. I try to keep that one up.

https://wiki.unsystem.net/index.php/Libbitcoin/Servers
Pages: « 1 2 3 4 5 6 [7] 8 9 10 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!