Author

Topic: BTCD is no more - page 206. (Read 1328507 times)

legendary
Activity: 1764
Merit: 1031
October 09, 2014, 06:09:29 AM
OVH is providing cheap VPS as well. I'm using them and works quite fine for me. I don't work for them and no affiliation. Just using their service.

They provide 1 vCore CPU, 1GB RAM, 10GB HDD, up to 10,000 GB data transferred per month @100 Mbps, then 1 Mbps for $2.99. For $6.99 2 vCore CPU, 2GB RAM, 25GB HDD. All ports open.

Are you running SuperNET on it? Someone said ~2 Gb Ram was ideally needed.
Also, are there any good options for paying in btc?
I need to get something up and running asap, so information appreciated. I'm happy to pay for a VPS for a year if someone can help me get it set up.
legendary
Activity: 1176
Merit: 1134
October 09, 2014, 05:40:17 AM
fixed a big bug, please update
./m_unix

should be a lot more stable
member
Activity: 112
Merit: 10
October 09, 2014, 04:53:51 AM
OVH is providing cheap VPS as well. I'm using them and works quite fine for me. I don't work for them and no affiliation. Just using their service.

They provide 1 vCore CPU, 1GB RAM, 10GB HDD, up to 10,000 GB data transferred per month @100 Mbps, then 1 Mbps for $2.99. For $6.99 2 vCore CPU, 2GB RAM, 25GB HDD. All ports open.
sr. member
Activity: 441
Merit: 500
October 08, 2014, 11:12:35 PM
found this thread on page 3 again. interest dying out?




BTCD really needs a good dice site to make BTCD more known


Someone mention a dice site?

dice.btcdplays.com

Card game too

jack.btcdplays.com

Updated OP, Thanks!
legendary
Activity: 1176
Merit: 1134
October 08, 2014, 06:26:22 PM
seems there are not so many bugs
and also not so many servers
I will integrate the cloud storage into Teleport next
legendary
Activity: 3570
Merit: 1126
October 08, 2014, 02:07:38 PM
1. I think that if we are going to spend 500-1000$ a month on servers we should be able to press the price a little.

2. I would like to be a part of the team working with the servers, but i have almost 2 weeks this month where I will be in Italy driving world finals in go kart, so I will not be online that 2 weeks.

Also I am no expert in driving servers, but I would like to give a hand if someone else is in charge (at least in the beginning) as the winter is coming and I don't have much else to do after work.


3. If we are to use 20+ servers, we would need to have the ability to ether clone 1 server out to all the other. Or have some service passing out the chances, from the master server, as it else would be to time consuming (and to big error rate)


Please bear in mind that i am a bit dyslexic.

50 t2.micro instances on Amazon AWS would be $476/mo.

A t2.micro instance is 1 CPU, 1 GB RAM, no perm storage.

I'm pretty sure you can create 1 image and bring up VM's using that image. You can also turn them off and only pay for what you use.


A DigitalOcean VPS with Ubuntu 14.04 is $5/month

That's 512 MB of RAM VM. But, the price is certainly better if that will suffice.


512 is insufficient to run NXT & BTCD effectively. 1GB may be even pushing it. I was only able to test on 768 (kept crashing) and 1.75 GB, worked ok.
legendary
Activity: 1736
Merit: 1001
October 08, 2014, 02:00:31 PM
1. I think that if we are going to spend 500-1000$ a month on servers we should be able to press the price a little.

2. I would like to be a part of the team working with the servers, but i have almost 2 weeks this month where I will be in Italy driving world finals in go kart, so I will not be online that 2 weeks.

Also I am no expert in driving servers, but I would like to give a hand if someone else is in charge (at least in the beginning) as the winter is coming and I don't have much else to do after work.


3. If we are to use 20+ servers, we would need to have the ability to ether clone 1 server out to all the other. Or have some service passing out the chances, from the master server, as it else would be to time consuming (and to big error rate)


Please bear in mind that i am a bit dyslexic.

50 t2.micro instances on Amazon AWS would be $476/mo.

A t2.micro instance is 1 CPU, 1 GB RAM, no perm storage.

I'm pretty sure you can create 1 image and bring up VM's using that image. You can also turn them off and only pay for what you use.


A DigitalOcean VPS with Ubuntu 14.04 is $5/month

That's 512 MB of RAM VM. But, the price is certainly better if that will suffice.
hero member
Activity: 690
Merit: 501
October 08, 2014, 01:13:36 PM
1. I think that if we are going to spend 500-1000$ a month on servers we should be able to press the price a little.

2. I would like to be a part of the team working with the servers, but i have almost 2 weeks this month where I will be in Italy driving world finals in go kart, so I will not be online that 2 weeks.

Also I am no expert in driving servers, but I would like to give a hand if someone else is in charge (at least in the beginning) as the winter is coming and I don't have much else to do after work.


3. If we are to use 20+ servers, we would need to have the ability to ether clone 1 server out to all the other. Or have some service passing out the chances, from the master server, as it else would be to time consuming (and to big error rate)


Please bear in mind that i am a bit dyslexic.

50 t2.micro instances on Amazon AWS would be $476/mo.

A t2.micro instance is 1 CPU, 1 GB RAM, no perm storage.

I'm pretty sure you can create 1 image and bring up VM's using that image. You can also turn them off and only pay for what you use.


A DigitalOcean VPS with Ubuntu 14.04 is $5/month
legendary
Activity: 1736
Merit: 1001
October 08, 2014, 12:35:34 PM
1. I think that if we are going to spend 500-1000$ a month on servers we should be able to press the price a little.

2. I would like to be a part of the team working with the servers, but i have almost 2 weeks this month where I will be in Italy driving world finals in go kart, so I will not be online that 2 weeks.

Also I am no expert in driving servers, but I would like to give a hand if someone else is in charge (at least in the beginning) as the winter is coming and I don't have much else to do after work.


3. If we are to use 20+ servers, we would need to have the ability to ether clone 1 server out to all the other. Or have some service passing out the chances, from the master server, as it else would be to time consuming (and to big error rate)


Please bear in mind that i am a bit dyslexic.

50 t2.micro instances on Amazon AWS would be $476/mo.

A t2.micro instance is 1 CPU, 1 GB RAM, no perm storage.

I'm pretty sure you can create 1 image and bring up VM's using that image. You can also turn them off and only pay for what you use.
newbie
Activity: 34
Merit: 0
October 08, 2014, 10:38:14 AM
Hi, I still have sync problem.
I downloaded the config file on page 1, and followed the instructions.
but still have 0 connections.

Is it a known problem, and will there be a new wallet release?

Edit: after quite a long time, it start syncing Smiley  -> OK
legendary
Activity: 1764
Merit: 1031
October 08, 2014, 10:22:13 AM
So I get a load of messages when compiling (long process), ending in:
cp: cannot stat 'BitcoinDarkd': no such file or directory
./m_unix: line 20: ./BitcoinDarkd: No such file or directory

I'm also unclear what needs to go in the SuperNET.conf file.

Edit:
I've got two directories now, btcd and bitcoindark, due to the two sets of instructions.
There's also this file: https://docs.google.com/document/d/1CGUgDAhimVhz7aHAnITeZGr2S4RiZPzF2LYZIWGbJ1E/edit
Looks like this is more comprehensive. Also that I do need to install a NXT wallet too.
I'm currently not using a VPS, just an old computer with Ubuntu on it. Is that a problem?
My purpose here is just to test and understand the SuperNET API calls to create some documentation, that's all.
legendary
Activity: 1764
Merit: 1031
October 08, 2014, 09:54:22 AM

The nacl folder should be in btcd/libjl777. Then navigate to build/lib/ and a few more folders to randombytes.o

The latest btcd repo no longer needs libnacl. However, you still need randombytes.o.

Matthew
Thanks - hidden file and a couple of extra directories I wasn't expecting. Found it now.
I'm very new to linux and this is a baptism by fire.

Linux takes a while to get used to. Once you really understand how the terminal works and everything, it's a powerful tool.

Yeah, I get that. It's pretty cool. But I have little idea what the commands I'm typing in actually mean Smiley
hero member
Activity: 690
Merit: 501
October 08, 2014, 09:53:05 AM

The nacl folder should be in btcd/libjl777. Then navigate to build/lib/ and a few more folders to randombytes.o

The latest btcd repo no longer needs libnacl. However, you still need randombytes.o.

Matthew
Thanks - hidden file and a couple of extra directories I wasn't expecting. Found it now.
I'm very new to linux and this is a baptism by fire.

Linux takes a while to get used to. Once you really understand how the terminal works and everything, it's a powerful tool.
legendary
Activity: 1764
Merit: 1031
October 08, 2014, 09:36:38 AM

The nacl folder should be in btcd/libjl777. Then navigate to build/lib/ and a few more folders to randombytes.o

The latest btcd repo no longer needs libnacl. However, you still need randombytes.o.

Matthew
Thanks - hidden file and a couple of extra directories I wasn't expecting. Found it now.
I'm very new to linux and this is a baptism by fire.
sr. member
Activity: 255
Merit: 251
October 08, 2014, 09:25:47 AM
Making slow progress. Compiled ok but asking for BitcoinDark.conf
I created the file using pico BitcoinDark.conf and pasted in the text in OP, substituting the rpcuser= and rpcpassword= with the ones it suggested. Also changed permissions to 700 as recommended. Next time around, I got the same message.

Put your BitcoinDark.conf in .BitcoinDark in your home directory.


That directory doesn't seem to exist.
Edit: found hidden file with ls -a
Steep learning curve for me today.
when your build environment is working, you should go:
cd
git clone https://github.com/jl777/btcd
cd btcd/libjl777
./onetime

cp randombytes.o libnacl.a ~/btcd/libjl777/libs
cd ~/btcd
./m_unix

./BitcoinDarkd

Ok up to ./onetime

Can't find nacl directory
find / randombytes.o -> No such file or directory

The nacl folder should be in btcd/libjl777. Then navigate to build/lib/ and a few more folders to randombytes.o

The latest btcd repo no longer needs libnacl. However, you still need randombytes.o.

Matthew
legendary
Activity: 1764
Merit: 1031
October 08, 2014, 09:09:50 AM
Making slow progress. Compiled ok but asking for BitcoinDark.conf
I created the file using pico BitcoinDark.conf and pasted in the text in OP, substituting the rpcuser= and rpcpassword= with the ones it suggested. Also changed permissions to 700 as recommended. Next time around, I got the same message.

Put your BitcoinDark.conf in .BitcoinDark in your home directory.


That directory doesn't seem to exist.
Edit: found hidden file with ls -a
Steep learning curve for me today.
when your build environment is working, you should go:
cd
git clone https://github.com/jl777/btcd
cd btcd/libjl777
./onetime

cp randombytes.o libnacl.a ~/btcd/libjl777/libs
cd ~/btcd
./m_unix

./BitcoinDarkd

Ok up to ./onetime

Can't find nacl directory
find / randombytes.o -> No such file or directory

sr. member
Activity: 255
Merit: 251
October 08, 2014, 08:48:58 AM
Progress update!

Sending/receiving messages seems to be working well now. Teleport debugging starting very soon, probably this week.

We now have two new functions in SuperNET API: "savefile" and "restorefile"

These functions allow for the encryption of files and their secure storage. (Currently in RAM, soon in cloud)

In this line, I saved and encrypted the file m_unix:

Code:
matthew@matthew-Satellite-P845:~/Desktop/btcd/src$ ./BitcoinDarkd SuperNET '{"requestType":"savefile","filename":"../m_unix","L":0,"M":2,"N":2,"usbdir":"/tmp","password":"1234"}'

Then it gave me some information, such as 'sharenrs' and an array of 'txid' values. These MUST be remembered for restoration of the file.

Then:

Code:
./BitcoinDarkd SuperNET '{"requestType":"restorefile","filename":"m_unix","L":0,"M":2,"N":2,"usbdir":"/tmp","txids":["16996257282448948276", "15989003265508946305"],"destfile":"newfile", "password": "1234"}'

restored m_unix to a new file, newfile.

Think about the future applications that can be developed around this.  Smiley These files are also quite secure. An attacker would need to know your password, sharenrs, txids (in order), m, and n to restore your file.

It should support up to M-of-254 encryption.
Here is my output from saving m_unix with 200 of 254 encryption

http://pastebin.com/QfYrQ1Tx

However, restoring was too much for it. We are calling on testers now to test the current working limits of this value.

Matthew

P.S. if you aren't volunteering yet and would like to, head over to https://forum.thesupernet.org/index.php?topic=66.0 and get started testing!
sr. member
Activity: 255
Merit: 251
October 08, 2014, 07:37:02 AM
simple cases of savefile and restorefile are working in loopback mode.
also found a bunch of recursion problems
even the nested ciphers worked, so now it is M of N testing, then combined encrypted M of N
then on the live network, so not sure I can get all this done today...
I debugged savefile and restorefile, but only in loopback mode. so maybe this will just not work with the live network.

anyway I did small files and large files, encrypted, not encrypted, MofN (just 2 of 3) without encryption and MofN with encryption.

so those are all the cases and the savefile automatically does a restorefile with a compare to make it easier for testing.

I also updated to TweetNACL instead of the libnacl.a, much smaller source code and fully reviewed.
fixed a bunch of possible recursion bugs
a bunch of other things to, cant remember them all. I got setup to test locally and so I must have done over 100 builds as it is much faster when I dont have to upload to servers.

dont use files that are too big, there is no error handling for that, so limit to ~100kb

James


Nice idea using TweetNACL, much more compact than libnacl or libsodium on Windows. Should reduce compilation frustration.

I'm excited about decentralized storage. This opens up a large amount of new possibilities for future applications to be built on top of BTCD.  Smiley

Matthew
still need randombytes.o, but we can always extract that and compile it for different OS

Yes, randombytes has its own separate ./do file we can use to build it.
legendary
Activity: 1176
Merit: 1134
October 08, 2014, 07:20:07 AM
simple cases of savefile and restorefile are working in loopback mode.
also found a bunch of recursion problems
even the nested ciphers worked, so now it is M of N testing, then combined encrypted M of N
then on the live network, so not sure I can get all this done today...
I debugged savefile and restorefile, but only in loopback mode. so maybe this will just not work with the live network.

anyway I did small files and large files, encrypted, not encrypted, MofN (just 2 of 3) without encryption and MofN with encryption.

so those are all the cases and the savefile automatically does a restorefile with a compare to make it easier for testing.

I also updated to TweetNACL instead of the libnacl.a, much smaller source code and fully reviewed.
fixed a bunch of possible recursion bugs
a bunch of other things to, cant remember them all. I got setup to test locally and so I must have done over 100 builds as it is much faster when I dont have to upload to servers.

dont use files that are too big, there is no error handling for that, so limit to ~100kb

James


Nice idea using TweetNACL, much more compact than libnacl or libsodium on Windows. Should reduce compilation frustration.

I'm excited about decentralized storage. This opens up a large amount of new possibilities for future applications to be built on top of BTCD.  Smiley

Matthew
still need randombytes.o, but we can always extract that and compile it for different OS
sr. member
Activity: 255
Merit: 251
October 08, 2014, 07:14:19 AM
simple cases of savefile and restorefile are working in loopback mode.
also found a bunch of recursion problems
even the nested ciphers worked, so now it is M of N testing, then combined encrypted M of N
then on the live network, so not sure I can get all this done today...
I debugged savefile and restorefile, but only in loopback mode. so maybe this will just not work with the live network.

anyway I did small files and large files, encrypted, not encrypted, MofN (just 2 of 3) without encryption and MofN with encryption.

so those are all the cases and the savefile automatically does a restorefile with a compare to make it easier for testing.

I also updated to TweetNACL instead of the libnacl.a, much smaller source code and fully reviewed.
fixed a bunch of possible recursion bugs
a bunch of other things to, cant remember them all. I got setup to test locally and so I must have done over 100 builds as it is much faster when I dont have to upload to servers.

dont use files that are too big, there is no error handling for that, so limit to ~100kb

James


Nice idea using TweetNACL, much more compact than libnacl or libsodium on Windows. Should reduce compilation frustration.

I'm excited about decentralized storage. This opens up a large amount of new possibilities for future applications to be built on top of BTCD.  Smiley

Matthew
Jump to: