Show Posts
|
Pages: [1] 2 3 4 5 6 »
|
Is PoS really suitable for a primarily asset based chain? Normally in PoS you're intending on trusting the majority of the wealth, but with an emphasis on assets, the majority of wealth may be the assets themselves, so instead you're trusting the majority of uninvested wealth. Is that still sufficient?
|
|
|
NEED SOME MAJOR HELP. Really stressing me out now. i thought it was my router not forwarding ports so i went and got another and it still not working. I cant even get 1 node to start now. It was working with 8 until i transfered them onto another computer now none will work on either. I have tried it as just my ip as well. I can still transfer coins in and out.
not capable masternode: Could not connect to ggqcfezddpm6m7kt.onion:9999
The port 9999 is forwarded on the bt hub but it still is not showing on canyouseeme.org I rang up BT and they said its part of the hub that it will not show on sites like that.
tor is set up correctly.
HiddenServiceDir C:\Users\James\Desktop\Tor Browser\hidden_service 1 HiddenServicePort 9999 127.0.0.1:9999
HiddenServiceDir C:\Users\James\Desktop\Tor Browser\hidden_service 2 HiddenServicePort 9999 127.0.0.1:9999
HiddenServiceDir C:\Users\James\Desktop\Tor Browser\hidden_service 3 HiddenServicePort 9999 127.0.0.1:9999
My conf is right!
rpcallowip=127.0.0.1 rpcuser=**** rpcpassword=***** server=1 rpcport=9998 daemon=1 listen=0 staking=0 masternodeaddr=ggqcfezddpm6m7kt.onion:9999 masternode=1 port=9999 masternodeprivkey=*****
and my exe is -tor=127.0.0.1:9050
It all worked before i dont have a clue what i did.
the hidden service port lines need to have the rpcport after the 127.0.0.1
|
|
|
I pmed the dev about this a few days ago, but haven't received any response, nor has anything been done about these, so I'm posting this here now hoping it'll get some answers. This is not the message I sent, this is reworded for general users who I don't expect to know much about the code. There are multiple things I've found in the code that seem like problems. In the masternode payment enforcement, the code for checking that masternodes are being paid is checking the wrong transaction. In btc(and pow coins like darkcoin which the code came from) the block reward is in the first transaction (vtx[0]), and in PoS forks like crave is, vtx[0] is always left empty and the block reward is in vtx[1]. It can be seen here https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2375 and https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2357 that the code was not updated to look in vtx[1], and continues to look at vtx[0]. It can also be seen a little higher up in the same function that the block verification does check that vtx[0] is empty https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2302 . Since block verification checks that vtx[0] is empty to even get to masternode payment verification, payment verification will never find an output to a masternode in that loop, and should reject all blocks, except it doesn't deadlock due to the next point. I have about 5 seconds to check this out, but vtx[1] is the marker for PoS in crave. https://github.com/industrialcoinmagic/crave/blob/master/src/main.h#L728If the rest of your analysis is equally flawed, I'd suggest to the community not to waste to much time worrying about it. [addendum]The second paragraph is flawed too. The first points to CBlock and the second to CTransaction. Yes, vtx[1] is the coinstake transaction, and it looks at it in the IsProofOfStake function, that doesn't contradict anything I said. vtx[0] is where the masternode payment verification code is looking however when the payment is part of that coinstake in vtx[1].
|
|
|
I pmed the dev about this a few days ago, but haven't received any response, nor has anything been done about these, so I'm posting this here now hoping it'll get some answers. This is not the message I sent, this is reworded for general users who I don't expect to know much about the code. There are multiple things I've found in the code that seem like problems. In the masternode payment enforcement, the code for checking that masternodes are being paid is checking the wrong transaction. In btc(and pow coins like darkcoin which the code came from) the block reward is in the first transaction (vtx[0]), and in PoS forks like crave is, vtx[0] is always left empty and the block reward is in vtx[1]. It can be seen here https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2375 and https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2357 that the code was not updated to look in vtx[1], and continues to look at vtx[0]. It can also be seen a little higher up in the same function that the block verification does check that vtx[0] is empty https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2302 . Since block verification checks that vtx[0] is empty to even get to masternode payment verification, payment verification will never find an output to a masternode in that loop, and should reject all blocks, except it doesn't deadlock due to the next point. The hard fork never happened. If you scroll up a little from the previous section, you'll see a flag used for enabling masternode enforcement. https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2341 Right below it checks it against a timestamp, and sets the flag to true if we're past the fork time. Before we actually use the flag, there's another condition calling the IsSporkActive function https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2341 which is capable of turning the flag back off. If you follow that function https://github.com/industrialcoinmagic/crave/blob/master/src/spork.cpp#L80 what happens in that call is it doesn't see that flag in the map, so heads into the else block where it copies SPORK_1_MASTERNODE_PAYMENTS_ENFORCEMENT_DEFAULT to r, and then compares r to the current time. If you take a look at the value compared https://github.com/industrialcoinmagic/crave/blob/master/src/spork.h#L28 , and convert that timestamp(2428537599) to normal time ( http://www.epochconverter.com/ ), you'll see that the timestamp used is Dec 16 2046. Clearly this hasn't happened yet, so IsSporkActive returns false, and that causes it to set the flag back to false so the masternode payment enforcement code is skipped over. Until ICM quieted the logging, it could also be seen in the logs that the skipped message was still being logged after the fork supposedly happened. Lastly at https://github.com/industrialcoinmagic/crave/blob/master/src/main.cpp#L2320 the constant passed to IsSporkActive is the timestamp from before, not a spork ID, which causes the InstantX checks to be skipped.
|
|
|
Can anyone please tell me how to change wallet directory to run multiple instances of crave-qt? Pretty please Cheesy ./crave-qt -datadir=/path/to/data/directory
unable to bing 0.0.0.0:30104 on this computer. Crave is probably already running What wrong? in the config either set listen=0, or port=somethingotherthan30104
|
|
|
Get this in debug.log every block:
GetSpork::Unknown Spork -1866429697 CheckBlock() : skipping transaction locking checks CheckBlock() : skipping masternode payment checks
Is payment enforcement actually on?
Got the same issue. Can't sync with MN4 or at least it's stuck for like half an hour at one place. Looking at source and looks like dev typoed the timestamp in the spork.h file. In main.h it's 1428537599(April 8 2015), but in spork.h it's 2428537599(December 16 2046). In checkblock if first checks if time is past the first one and sets a flag true, then checks against the second one, and sets it back false. It then skips the mn payment enforcement code since the flag is false. So masternode payment enforcement isn't actually on, hardfork is set for 31 years from now.
|
|
|
Get this in debug.log every block:
GetSpork::Unknown Spork -1866429697 CheckBlock() : skipping transaction locking checks CheckBlock() : skipping masternode payment checks
Is payment enforcement actually on?
|
|
|
And now we will see a giant recovery  Anyone daring enough to predict what the price will be in just a few hours... I'm calling crash to 100k. hardfork still ahead and approaching
|
|
|
Next up, $CRAVE Roadmap #2: Codename SNOWPIERCER including some previously unannounced features. Adrenaline Surge, Surge Protector, URGE & G-SPOT.  and then will be the end of this bubble maybe ? I am not trolling, just thinking when to make my dump and go to the next daily/weekly bubble  Do now there is enough buy support and do not come backdo you have bigger font? yes trollDont call user with more coins than you a troll. I asked a good question!  We all know how crypto world works. If you are a lately buyer its your problem! I am a 7.93btc buyer at 50-65k ranges and really thinking what to do while you are calling me a troll  massive dump will start at any moment but when... If you're honestly looking for a good time to sell, I'd do it within the next 4 hours. People may be celebrating that masternodes are working, but the hard fork hasn't happened yet, and if anything's going to go wrong, that's when it will. drk originally had multiple failed attempts getting mn enforcement working right, and icm just adapted it to a different system in a very short amount of time.
|
|
|
All my steps from everything I've read, feel free to correct or comment on any errors. 1. Set up Masternode computer Note: if using TOR, might not have to expose ports!#Set up portforwarding on router to computer/ip port 9999 sudo apt-get update sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev automake libdb++-dev libssl-dev git sudo apt-get install ufw ufw allow ssh/tcp ufw limit ssh/tcp #this command limits SSH connections to 6 every 30 seconds for greater security--- ufw allow 9999/tcp ufw logging on ufw enable
2. Install Tor & Configure torrc on Masternode computersudo apt-get install tor sudo /etc/init.d/tor start #Check that the Tor service is running on port 9050: #Make directory that is readable/writeable by the user that will be running Tor. mkdir /home/username/hidden_service/ #Configure torrc, usually found in /etc/tor nano /etc/tor/torrc #add the following & save:
HiddenServiceDir /home/username/hidden_service/ HiddenServicePort 9999 127.0.0.1:9999 #Restart Tor sudo /etc/init.d/tor stop sudo /etc/init.d/tor start #Make note of created *hiddenservicename*.onion in: /var/lib/tor/YOURHIDDENSERVICENAME/hostname 3. Configure Local/Cold wallet & Generate masternodeprivkey#Go to Debug window > Console masternode genkey getaccountaddress 0 #Make note of masternode key and accountaddress #Send 500 crave to the accountaddress #Paste the following: rpcuser=MAKEUPNAME rpcpassword=MAKEUPPASSWORD rpcallowip=127.0.0.1 rpcport=USEDIFFERENTPORTNUMFOREACHCLIENT listen=0 server=1 daemon=1 logtimestamps=1 masternode=1 masternodeprivkey=MASTERNODEKEYFROMCONSOLE masternodeaddr=HIDDENSERVICENAME.ONION:9999 # Save / Write out the file 4. Configure the Masternode computer "craved daemon" #First build secp256ki git clone https://github.com/bitcoin/secp256k1.git ./autogen.sh ./configure make ./tests #optional sudo make install ldconfig #Get the crave daemon: git clone https://github.com/industrialcoinmagic/crave.git #Take the following steps to build daemon (no UPnP support): cd ~/crave/src make -f makefile.unix USE_UPNP= strip craved #Run ./craved and let it sync: ./craved ./craved getinfo | grep blocks #to find current block number & compare to blockexplorer
#Paste the following: rpcallowip=127.0.0.1 rpcuser=MAKEUPYOUROWNUSERNAME rpcpassword=MAKEUPYOUROWNPASSWORD rpcport=MAKEUPYOUROWNPORT server=1 daemon=1 listen=1 staking=0 port=9999 masternodeaddr=HIDDENSERVICENAME.ONION:9999 masternode=1 masternodeprivkey=MASTERNODEKEYFROMCONSOLE # Save / Write out the file 5. Last step#Start the masternode daemon ./craved -conf=~/.crave/crave.conf #Then start the local/cold wallet with tor option ./crave-qt -tor=127.0.0.1:9050 #Start masternode go to Debug > console #Check if the masternode is running correctly: ./craved masternode list | grep YOUR-IP #If working: you might want to use the tor packages provided here: https://www.torproject.org/docs/debian.html.en to make sure it's up to date for multiple nodes you duplicate the service config like this: HiddenServiceDir /home/username/hidden_service1/ HiddenServicePort 9999 127.0.0.1:9999 HiddenServiceDir /home/username/hidden_service2/ HiddenServicePort 9999 127.0.0.1:9998 HiddenServiceDir /home/username/hidden_service3/ HiddenServicePort 9999 127.0.0.1:9997 the hot machine's config needs that changing port as it's rpcport. masternodeaddr's port is 9999. either listen=0 or changing port is needed to keep them from clashing if doing multiple. you can add the tor= part to cold config so you don't need to specify each time you run the client.
|
|
|
Can somebody name some cheap VPS providers ? What do we have, DigitalOcean, Vultr.. what else ?
This ^ Also, if they accept bitcoin, it would be a big plus  You don't need any vpses if you run them as tor hidden services. Run each client instance with a different rpcport and in the hidden service config each serive as 9999 -> 127.0.0.1:actualport. set listen=0 so they don't try to clash on the same port. Specify port 9999 in the masternodeaddr. If doing a hot/cold you need to add tor=127.0.0.1:9050 to the cold wallet's config and it needs tor installed also. I've tested this and gotten it working in 2 vms on one machine (1 vm for hot, 1 for cold) and set up 2mn then shut down the cold vm and got payments for both. With the default tor config(as a client, not a relay) tor makes outgoing connections only, so you don't even need any exposed ports for that setup, and can block all incoming traffic with iptables
|
|
|
Is this actually practical? It looks like you staked a block, then sent your coins back to yourself a few hours later.
|
|
|
how to compile craved ? im getting : key.cpp:17:23: fatal error: secp256k1.h: No such file or directory compilation terminated.
you need to install secp256k1 first "git clone https://github.com/bitcoin/secp256k1" what about this issue : irc.cpp: In function ‘void ThreadIRCSeed2()’: irc.cpp:321:39: error: expected ‘)’ before ‘PRIu64’ make: *** [obj/irc.o] Error 1
Open the irc.cpp file and add a line #define PRIu64 "llu" near the top. Apparently that constant is defined in the headers in some distros, and not in others. I had to add it in debian, but it compiled without in linux mint.
|
|
|
I have mac and i'm running crave wallet in a windows virtual machine through VirtualBoxVM. I'm staking perfectly without any orphan I still can not set up any masternode because I'm just waiting for more information about what to do if my ip is dynamic and how to recover the 500 craves if I want to sell them. Is that possible?
You can move the coins anytime just like you would normally and your node will just get removed from the list. If you make a tor mn the address will stay the same even if your ip changes.
|
|
|
Going to test if you can stake your collateral, I believe this will work as long as the collateral output doesn't exceed the stake split threshold.
What was the result of this? Can we stake collateral?
|
|
|
Can you put the masternodes on an other port than 9999 ? I'd like to let them co-exist with dashcoin masternodes, but they already use 9999  You should be able to specify any port mapping in your tor config, so you can run it locally on any port but it will be on 9999 over tor
|
|
|
When will release a new wallet. I am want run masternode and i go sleep.  6:30 am  Making Windows wallet now.  can you get source up on github so linux users can start compiling?
|
|
|
Be great if a vetted and trustworthy someone could run a service where they set up masternodes for people for a fee. I'm a trader, not a computer whiz unfortunately! haha
It's pretty easy. I'll adjust these once we have all of the details. Here are instructions on how to set up a masternode in Windows environment:Start up and sync your wallet. Open debug console, type: masternode genkey Copy output key into a text file to be used later Then, in debug console type: getaccountaddress 0 Copy output address into a text file to be used later Send 500 CRAVE to address output above, no more, no less. Exactly 500. Close Wallet Create/Edit crave.conf: maxconnections=100 rpcuser=solo rpcpassword=user rpcport=8888 gen=0 server=1 daemon=1 reservebalance=9999999 masternodeaddr=YOUR_IP:8888 masternode=1 masternodeprivkey=KEY GENERATED BY COMMAND rpcallowip=* Save Wait TBD blocks (see confirmations from wallet you sent 500 CRAVE) To start masternode wallet, open debug console and type: masternode start Unless ICM changed his plans, you're going to need to config a tor hidden service aimed at the wallet also. Doing the 2 wallet method so you don't need your priv key to be on the mn wallet is probably also a good idea, as well as sandboxing everything in a vm.
|
|
|
Staking difficulty dropped to about the lowest it's been in a few days. People are probably moving their coins over to dump.
On a side note I got bit by the orphans again. Hadn't had it happen for 3 days so I thought maybe it was past.
|
|
|
|