Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - girino

Pages: [1] 2 3
1
Main Development / Re: Mr. Spread
« on: March 03, 2015, 06:36:34 pm »
Id say give him 31 days. Thats enough to time to be released if he's in jail for something small.  ;)

How much jail time you get for using bitcoin in russia?

2
Main Development / Re: Masternodes Testing (Round 2)
« on: February 13, 2015, 03:19:08 am »
Question to Mr. Spread:

I have my home wallet where the coins are, and a VPS where the MasterNode will run. From my home machine, is there a way to know if the masternodes are running on the vps? (if they are elected i can see them as elected, but before they get elected, how do i make sure they are running?)

3
Main Development / Re: Proof-reading Mr. Spread's texts and whitepaper...
« on: February 12, 2015, 12:44:10 am »
You should add a link to the whitepaper... :)

http://spreadcoin.net/files/SpreadCoin-WhitePaper.pdf

The white paper has several instances of "if ... then ..." written as "if ... than ...". But since i'm no native english speaker, i didn't dare point those out... now that grammar-nazism is ruling the world of spreadcoin, i finally feel free enough to point it out!

For instance,

- To prevent creation of pools we must remove this possibility so that if a pool will be is created thanthen any miner can... (page 1)
- If both miner and pool know the private key but only the pool knows the content of
the block than then the pool can generate and broadcast a spending transaction earlier than the miner. (page 1)
- If both the miner and the pool know the contents of the block than then the the miner will be the first one who can broadcast the block and spending transaction. (pages 1-2)
- But even if someone will does, than then it can be countered by releasing a stealing miner software to which many miners will switch to.

sorry, i got carried on by my grammar nazism... now, native speakers, please correct my corrections ;)

4
Main Development / Re: Masternodes Testing (Round 2)
« on: February 10, 2015, 03:47:03 am »
Found some strange issue on this test version, maybe a bug, when using "getinfo":

Code: [Select]
[email protected]:~/git/spreadcoin/src$ ./spreadcoind getinfo
error: {"code":-1,"message":"map::at"}

other commands seem to work correctly.

(using linux, ubuntu 14.04, compiled with GCC 4.8.2)

5
Technical Support / Re: is that normal for r9 270x ?
« on: February 07, 2015, 04:24:32 am »
Intensity is WAY too high. with I = 31 you'd need at least 64 Gb of memory in your GPU. You should try values between 18 and 22.

6
Technical Support / Re: Step-by-step: Masternode on VPS
« on: February 01, 2015, 06:22:37 pm »
Same errors.

I checked the link you gave me earlier, it is just a copy from some older bitcoin related version I believe. I don't think that Mr. Spread has updated it. (Except changed the word bitcoin to spreadcoin) because it talks about Boost Version 1.37 which most certainly is too old.

I have:
Code: [Select]
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
# dpkg -s libboost-dev | grep 'Version'
Version: 1.54.0.1ubuntu1

I assume my "precise" ubuntu version is much more unforgiving then your "trusty" version, lol...

ok, i'll do an upgrade to 14.04

Before that you can try to update your boost to a newer version. I think you can do

Code: [Select]
apt-get install libboost1.51-all-dev
(or something newer than 1.51). The default for 12.04 is boost 1.48, that is quite outdated.

7
Technical Support / Re: Step-by-step: Masternode on VPS
« on: February 01, 2015, 03:07:04 pm »
I don't seem to be able to compile on my ubuntu server.

Not even 5 sec after the compilation start it stopped with the following error:



Here as copy paste:

Code: [Select]
[email protected]:/usr/spreadcoin/src# make -j4 -f makefile.unix USE_UPNP=
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -std=gnu++0x -Wno-literal-suffix -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/spreadcoin/src -I/usr/spreadcoin/src/obj -DUSE_IPV6=1 -I/usr/spreadcoin/src/leveldb/include -I/usr/spreadcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -std=gnu++0x -Wno-literal-suffix -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/spreadcoin/src -I/usr/spreadcoin/src/obj -DUSE_IPV6=1 -I/usr/spreadcoin/src/leveldb/include -I/usr/spreadcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/db.d -o obj/db.o db.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -std=gnu++0x -Wno-literal-suffix -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/spreadcoin/src -I/usr/spreadcoin/src/obj -DUSE_IPV6=1 -I/usr/spreadcoin/src/leveldb/include -I/usr/spreadcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/init.d -o obj/init.o init.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -std=gnu++0x -Wno-literal-suffix -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/spreadcoin/src -I/usr/spreadcoin/src/obj -DUSE_IPV6=1 -I/usr/spreadcoin/src/leveldb/include -I/usr/spreadcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/main.d -o obj/main.o main.cpp
In file included from checkpoints.cpp:10:0:
main.h: In function ‘std::size_t hash_value(COutPoint)’:
main.h:345:5: error: ‘hash_combine’ is not a member of ‘boost’
In file included from db.h:8:0,
                 from db.cpp:6:
main.h: In function ‘std::size_t hash_value(COutPoint)’:
main.h:345:5: error: ‘hash_combine’ is not a member of ‘boost’
In file included from db.h:8:0,
                 from main.cpp:8:
main.h: In function ‘std::size_t hash_value(COutPoint)’:
main.h:345:5: error: ‘hash_combine’ is not a member of ‘boost’
In file included from txdb.h:8:0,
                 from init.cpp:6:
main.h: In function ‘std::size_t hash_value(COutPoint)’:
main.h:345:5: error: ‘hash_combine’ is not a member of ‘boost’
main.cpp: In member function ‘bool CBlock::CheckBlock(CValidationState&, bool, bool) const’:
main.cpp:2638:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
main.cpp: In function ‘void SpreadCoinMiner(CWallet*)’:
main.cpp:5325:49: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
At global scope:
cc1plus: warning: unrecognised command line option "-Wno-literal-suffix" [enabled by default]
make: *** [obj/checkpoints.o] Error 1
make: *** Waiting for unfinished jobs....
At global scope:
cc1plus: warning: unrecognised command line option "-Wno-literal-suffix" [enabled by default]
make: *** [obj/db.o] Error 1
At global scope:
cc1plus: warning: unrecognised command line option "-Wno-literal-suffix" [enabled by default]
make: *** [obj/init.o] Error 1
At global scope:
cc1plus: warning: unrecognised command line option "-Wno-literal-suffix" [enabled by default]
make: *** [obj/main.o] Error 1
[email protected]:/usr/spreadcoin/src#

You seem to have the wrong version of libboost. What version of ubuntu are you using?

or maybe you didn't install libboost?
Code: [Select]
sudo apt-get install libboost-all-dev

8
Technical Support / Re: Step-by-step: Masternode on VPS
« on: January 30, 2015, 11:12:58 am »
When I enter
Quote
echo "mnstart=`spreadcoind mnsecret 7f7bbb802daa9723b1e060cfa28b6e1a1b6d5ad68f1136ca8f6aa9450edee6f7:1`" >> ~/.spreadtestcoin/spreadcoin.conf

(with my transaction ID)

I get:

Quote
error: {"code":-5,"message":"Could not get private key, wallet is locked or it is not your transaction"}

Wallet is not locked and this is the transaction ID of the coins I sent to myself.

Anyone have any ideas?

It looks like a cold/remote setup is not possible yet. It only seems to work if the funds are on the VPS (e.g. private key known), I had the same problem.

i ran "mnsecret" on my home machine and copied only the results to the VPS. You need the PK to get the secret, but after that, you can use the secret on any wallet.

9
Main Development / Re: Masternodes Testing
« on: January 30, 2015, 11:09:24 am »
I think it is better not to send your coins to the wallet stored on VPS but instead keep them in your local wallet and generate mnsecert from it.
Hey Mr. Spread

This doesnt work at all. If the private key is unknown it you can't start the masternode from remote.

Not sure what you men by it. I started the MN from my VPS with an empty wallet, using the "mnsecret" generated on my home machine. No need for the PK.

10
Technical Support / Re: Step-by-step: Masternode on VPS
« on: January 30, 2015, 04:15:31 am »
(...)
NOW I get:

Quote
net.cpp:18:32: fatal error: miniupnpc/miniwget.h: No such file or directory
 #include <miniupnpc/miniwget.h>

Heh.  Any ideas?

Code: [Select]
sudo apt-get install libminiupnpc-dev

11
Technical Support / Re: Step-by-step: Masternode on VPS
« on: January 30, 2015, 03:50:02 am »
I got a little further this time.  On the same step, this time I got:

Quote
virtual memory exhausted: Cannot allocate memory
make: *** [obj/main.o] Error 1

After it ran for quite awhile.  Is my little free micro instance not powerful enough?  :)  What is the story here?

you can add some virtual memory to it, so it stands the compilation process

http://stackoverflow.com/questions/17173972/how-do-you-add-swap-to-an-ec2-instance

12
Main Development / Re: Masternodes Testing
« on: January 29, 2015, 02:51:09 pm »
A question,

I did the following:
1- in my home wallet i created a MN that has been elected.
2- i stopped this MN, but did not touch the funds
3- i used "mnsecret" on its' transaction:output
4- i went to my VPS and used "mnstart" to start a MN with this secret

What happens now? Will a new MN be created and elected with this secret? will it show on my home wallet? how? will those funds be unavailable in my home wallet? if not, what happens if i spend them?

thanks to all.

What I think should happen is that your MN (remember, your MN is just a machine that's tied via mnsecret key to a big enough lump of SPR) will get unelected, and when your VPS instance broadcasts via mnstart or having the correct mnstart line in the .conf it will in time get re-elected. I don't think you need the wallet with the SPR in on the VPS, as long as you have the correct mnstart= code in the VPS .conf file.

but what happens if i try to spend the funds for this N in my home machine (where they are actually stored)? Will the MN die or will the transaction be rejected by the network? Or will it simply enable me to multiply my MNs indefinitely?

What should happen is that on your home machine those inputs will still be locked, you'll have to stop your MN(s) on the VPS before you can spend them.

I have no idea though, I'll try it shortly...  :)

they definitely do not show as locked in the GUI for "coin control". I think i might spend. I'll wait for the MN to be elected and try to do so.

13
Main Development / Re: Masternodes Testing
« on: January 29, 2015, 02:43:44 pm »
A question,

I did the following:
1- in my home wallet i created a MN that has been elected.
2- i stopped this MN, but did not touch the funds
3- i used "mnsecret" on its' transaction:output
4- i went to my VPS and used "mnstart" to start a MN with this secret

What happens now? Will a new MN be created and elected with this secret? will it show on my home wallet? how? will those funds be unavailable in my home wallet? if not, what happens if i spend them?

thanks to all.

What I think should happen is that your MN (remember, your MN is just a machine that's tied via mnsecret key to a big enough lump of SPR) will get unelected, and when your VPS instance broadcasts via mnstart or having the correct mnstart line in the .conf it will in time get re-elected. I don't think you need the wallet with the SPR in on the VPS, as long as you have the correct mnstart= code in the VPS .conf file.

but what happens if i try to spend the funds for this N in my home machine (where they are actually stored)? Will the MN die or will the transaction be rejected by the network? Or will it simply enable me to multiply my MNs indefinitely?

14
Main Development / Re: Masternodes Testing
« on: January 29, 2015, 12:37:50 pm »
A question,

I did the following:
1- in my home wallet i created a MN that has been elected.
2- i stopped this MN, but did not touch the funds
3- i used "mnsecret" on its' transaction:output
4- i went to my VPS and used "mnstart" to start a MN with this secret

What happens now? Will a new MN be created and elected with this secret? will it show on my home wallet? how? will those funds be unavailable in my home wallet? if not, what happens if i spend them?

thanks to all.

15
Main Development / Re: Masternodes Testing
« on: January 29, 2015, 02:38:11 am »
I don't think this is a bug per se, but it is a bit of a pain.  At least on testnet when you are setting up lots of masternodes and sending test coins.  I think on mainnet it would be less of an issue.

But I've found that if you setup a masternode and are waiting for the 50 confirmations, if you send coins to someone else during that time, it stops that masternode from being created.  I assume the coins you sent to yourself for the masternode are used for the coins sent to the person which stops the masternode from being created.  Not a huge deal, just an annoyance.  But if people ask why their masternode didn't get created, ask them if they sent coins to someone else before the 50 confirms.
I think this is similar to what just happened to me. I tried breaking up a masternode that had 350 coins in it so I created two new addresses and proceeded to send each of the new addy's 100.1 coins' after disabling the existing mn of course. I think I sent them back to back. What's strange is the first one I sent never made it to the newly created address. It ended up in a change address under the existing mn. So I ended up with one new mn, the second addy sent to, and the original mn addy still had 250 coins but in a change address. On top of that, I checked the tx ID  and it showed it going to the addy I had created for it.
MyFarm,
When your coins didn't go through, did they show up in a change address in coin control?

guys, you should enable "coin control" features on the "option" menu and use it to choose which coins you are sending. If you let the wallet choose them, he will choose the easier ones, and that will always be the last ones you sent. Use coin control and be happy.

Pages: [1] 2 3