Pages:
Author

Topic: Bottlecaps 2.1 UPDATE REQUIRED - HARDFORK JULY 4 2014 to 200% Annual PoS - page 57. (Read 388610 times)

hero member
Activity: 583
Merit: 502

I couldn't find the file scrypt-arm.S on the link you mention: http://starflakenights.net/crypto/wallets.html

Perhaps they moved/erased already?

Thanks in advance.

You'll have to download one of the source files (master.zip). I used the one from DMD  Grin

After doing all that you described (except for the install libboost1.50-all and qt4-qmake libqt4-dev), I'm getting this error:

src/scrypt_mine.cpp: In function ‘void* scrypt_buffer_alloc()’:
src/scrypt_mine.cpp:66:19: error: ‘SCRYPT_BUFFER_SIZE’ was not declared in this scope
     return malloc(SCRYPT_BUFFER_SIZE);
                   ^
src/scrypt_mine.cpp: In function ‘void scrypt(const void*, size_t, uint32_t*, void*)’:
src/scrypt_mine.cpp:87:21: error: ‘scrypt_core’ was not declared in this scope
     scrypt_core(X, V);
                     ^
src/scrypt_mine.cpp: In function ‘void* scrypt_buffer_alloc()’:
src/scrypt_mine.cpp:67:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Makefile:2209: recipe for target 'build/scrypt_mine.o' failed
make: *** [build/scrypt_mine.o] Error 1

I must say that I'm trying to install bottlecaps on Rokos V5 system running on RPi-3.

Thanks in advance for any help.
legendary
Activity: 1565
Merit: 1027

I couldn't find the file scrypt-arm.S on the link you mention: http://starflakenights.net/crypto/wallets.html

Perhaps they moved/erased already?

Thanks in advance.

You'll have to download one of the source files (master.zip). I used the one from DMD  Grin
legendary
Activity: 912
Merit: 1000
hero member
Activity: 583
Merit: 502

I'll double down on the RPi make that 60k CAP.

Try this (for the Raspian OS on the RPi2):

- Start by increasing performance by overclocking CPU, GPU and RAM while bumping voltage up a bit for stability:
Code:
sudo nano /boot/config.txt

arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2

- Now, if you are running the Raspberry Pi 2 in a hot environment, here are some settings to help lower temps (The Raspberry Pi 2 will now only clock to 900MHz when needed):

arm_freq_min=400
sdram_freq_min=250
core_freq_min=250
initial_turbo = 30 #Does not affect warranty. (Speeds up boot)

- Raspberry Pi 2 gpu_mem (1GB memory) allocation
for a Web server, wireless access point, firewall, weather station, etc
->gpu_mem=16

or for GUI usage, eg. OpenELEC, Raspbmc, RetroPie, XFCE, qt-wallets
->gpu_mem=320

- Update your software

Code:
sudo apt-get update
sudo apt-get upgrade

- Add libraries

Code:
sudo apt-get install build-essential build-essential g++ libssl-dev libboost-all-dev libgmp-dev libminiupnpc-dev miniupnpc libdb++-dev libgd2-xpm-dev

Code:
sudo apt-get install git

- Install QT compiler

Code:
sudo apt-get qt4-qmake libqt4-dev 

- Compile

Get source code from github

Code:
git clone...

1) Install newest boost sudo apt-get install libboost1.50-all
2) Double check if makefile.unix does not have any references to -msse2 ( this is for Windows)
3) Replace scrypt-arm.S with the proper one for the ARM v7 CPU

I got mine from:

http://starflakenights.net/crypto/wallets.html

This guy optimized the file to run on the RPI 2. As as good practice, you might want to compile your one files like I did or you might want to try the ones compiled by him. Your choice, your risk .I'm telling you to use only the scrypt-arm.S file.

I used this optimized file in several other wallets for other coins with no problem whatsoever.

4) Remove the line #include from the file scrypt_mine.cpp

5)
Code:
qmake "USE_UPNP=1"
6)
Code:
make

Done! CAP Qt-Wallet for the RPi 2

If you want a headless wallet, run:

5)
Code:
make -f makefile.unix USE_UPNP=1

Good luck!

PS: If you find this useful, send me some CAP to F1FnLnHU9UScwH2FBU3odGFX5HQbq77CLs  Grin


I couldn't find the file scrypt-arm.S on the link you mention: http://starflakenights.net/crypto/wallets.html

Perhaps they moved/erased already?

Thanks in advance.
member
Activity: 112
Merit: 10
I recall a few pages back someone was detailing what they did to get one to compile but I haven't heard much since. I have a RPi on hand and I'm willing to put up 30k CAP if anyone is interested. Also have a Pine64x on the way so maybe we can loop someone in who can focus on helping share CAPs more easily across platforms. 

I believe I had Bottlecaps QT running on my RPi1.  I absolutely have bottlecapsd running on RPi1.  I'll have a look tonight to see if I can remember what changes I had to make.  Both Hobonickels and Bottlecaps had a few things that needed tweeked to work on RPi1.

I have been able to get Bottlecaps-QT to compile on Rpi1 after some tweaks but my RPi with the weird 3.5" screen doesn't run X so I haven't been able to test it yet.

I'll double down on the RPi make that 60k CAP.

Been working on a distribution package for the RPi2 that is both statically linked AND binary compatible across all platforms (ie, the datadirs/wallets are portable). Still doing testing/verification but the end result will be a simple gzip archive download that contains both Qt/Headless binaries that will run on Raspbian stock (no extra packages required).

Got a few RPI's that i can use to help test
hero member
Activity: 750
Merit: 500
Haven't looked at StakeBox since I discovered that he was making non-static binaries and expecting people to blindly add libs to their system paths from his repository (a HUGE no-no on many different levels). Not sure if he corrected that in the time since I brought this up to him months ago...

full member
Activity: 152
Merit: 100
I recall a few pages back someone was detailing what they did to get one to compile but I haven't heard much since. I have a RPi on hand and I'm willing to put up 30k CAP if anyone is interested. Also have a Pine64x on the way so maybe we can loop someone in who can focus on helping share CAPs more easily across platforms. 

I believe I had Bottlecaps QT running on my RPi1.  I absolutely have bottlecapsd running on RPi1.  I'll have a look tonight to see if I can remember what changes I had to make.  Both Hobonickels and Bottlecaps had a few things that needed tweeked to work on RPi1.

I have been able to get Bottlecaps-QT to compile on Rpi1 after some tweaks but my RPi with the weird 3.5" screen doesn't run X so I haven't been able to test it yet.

I'll double down on the RPi make that 60k CAP.

Been working on a distribution package for the RPi2 that is both statically linked AND binary compatible across all platforms (ie, the datadirs/wallets are portable). Still doing testing/verification but the end result will be a simple gzip archive download that contains both Qt/Headless binaries that will run on Raspbian stock (no extra packages required).

Thanks for all your hard work Hilux74 and Fuzzbawls.

Multiple variations for platforms like BottleCapsd on a RPi 1 along with a distro for the RPi 2 both qualify.  The more options we have available going forward the better.

Until today I didnt even know about StakeBox's Bottlecaps - https://github.com/StakeBox/BottleCaps - Tested by any yet?

Someone had also sent me a message about: Raspberry PI ___coin Web Wallet - https://github.com/tvl83/RaspPaycoin

Even with no official bounty page there are CAPs to be had for those who have more time than BottleCaps. 
hero member
Activity: 750
Merit: 500
I recall a few pages back someone was detailing what they did to get one to compile but I haven't heard much since. I have a RPi on hand and I'm willing to put up 30k CAP if anyone is interested. Also have a Pine64x on the way so maybe we can loop someone in who can focus on helping share CAPs more easily across platforms. 

I believe I had Bottlecaps QT running on my RPi1.  I absolutely have bottlecapsd running on RPi1.  I'll have a look tonight to see if I can remember what changes I had to make.  Both Hobonickels and Bottlecaps had a few things that needed tweeked to work on RPi1.

I have been able to get Bottlecaps-QT to compile on Rpi1 after some tweaks but my RPi with the weird 3.5" screen doesn't run X so I haven't been able to test it yet.

I'll double down on the RPi make that 60k CAP.

Been working on a distribution package for the RPi2 that is both statically linked AND binary compatible across all platforms (ie, the datadirs/wallets are portable). Still doing testing/verification but the end result will be a simple gzip archive download that contains both Qt/Headless binaries that will run on Raspbian stock (no extra packages required).
legendary
Activity: 912
Merit: 1000
I recall a few pages back someone was detailing what they did to get one to compile but I haven't heard much since. I have a RPi on hand and I'm willing to put up 30k CAP if anyone is interested. Also have a Pine64x on the way so maybe we can loop someone in who can focus on helping share CAPs more easily across platforms. 

I believe I had Bottlecaps QT running on my RPi1.  I absolutely have bottlecapsd running on RPi1.  I'll have a look tonight to see if I can remember what changes I had to make.  Both Hobonickels and Bottlecaps had a few things that needed tweeked to work on RPi1.

I have been able to get Bottlecaps-QT to compile on Rpi1 after some tweaks but my RPi with the weird 3.5" screen doesn't run X so I haven't been able to test it yet.

I'll double down on the RPi make that 60k CAP.

I'll try and get it tested tonight.  Visiting relatives have turned my office into a bedroom. Sad
legendary
Activity: 1565
Merit: 1027

I'll double down on the RPi make that 60k CAP.

Try this (for the Raspian OS on the RPi2):

- Start by increasing performance by overclocking CPU, GPU and RAM while bumping voltage up a bit for stability:
Code:
sudo nano /boot/config.txt

arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2

- Now, if you are running the Raspberry Pi 2 in a hot environment, here are some settings to help lower temps (The Raspberry Pi 2 will now only clock to 900MHz when needed):

arm_freq_min=400
sdram_freq_min=250
core_freq_min=250
initial_turbo = 30 #Does not affect warranty. (Speeds up boot)

- Raspberry Pi 2 gpu_mem (1GB memory) allocation
for a Web server, wireless access point, firewall, weather station, etc
->gpu_mem=16

or for GUI usage, eg. OpenELEC, Raspbmc, RetroPie, XFCE, qt-wallets
->gpu_mem=320

- Update your software

Code:
sudo apt-get update
sudo apt-get upgrade

- Add libraries

Code:
sudo apt-get install build-essential build-essential g++ libssl-dev libboost-all-dev libgmp-dev libminiupnpc-dev miniupnpc libdb++-dev libgd2-xpm-dev

Code:
sudo apt-get install git

- Install QT compiler

Code:
sudo apt-get qt4-qmake libqt4-dev 

- Compile

Get source code from github

Code:
git clone...

1) Install newest boost sudo apt-get install libboost1.50-all
2) Double check if makefile.unix does not have any references to -msse2 ( this is for Windows)
3) Replace scrypt-arm.S with the proper one for the ARM v7 CPU

I got mine from:

http://starflakenights.net/crypto/wallets.html

This guy optimized the file to run on the RPI 2. As as good practice, you might want to compile your one files like I did or you might want to try the ones compiled by him. Your choice, your risk .I'm telling you to use only the scrypt-arm.S file.

I used this optimized file in several other wallets for other coins with no problem whatsoever.

4) Remove the line #include from the file scrypt_mine.cpp

5)
Code:
qmake "USE_UPNP=1"
6)
Code:
make

Done! CAP Qt-Wallet for the RPi 2

If you want a headless wallet, run:

5)
Code:
make -f makefile.unix USE_UPNP=1

Good luck!

PS: If you find this useful, send me some CAP to F1FnLnHU9UScwH2FBU3odGFX5HQbq77CLs  Grin
full member
Activity: 152
Merit: 100
I recall a few pages back someone was detailing what they did to get one to compile but I haven't heard much since. I have a RPi on hand and I'm willing to put up 30k CAP if anyone is interested. Also have a Pine64x on the way so maybe we can loop someone in who can focus on helping share CAPs more easily across platforms. 

I believe I had Bottlecaps QT running on my RPi1.  I absolutely have bottlecapsd running on RPi1.  I'll have a look tonight to see if I can remember what changes I had to make.  Both Hobonickels and Bottlecaps had a few things that needed tweeked to work on RPi1.

I have been able to get Bottlecaps-QT to compile on Rpi1 after some tweaks but my RPi with the weird 3.5" screen doesn't run X so I haven't been able to test it yet.

I'll double down on the RPi make that 60k CAP.
legendary
Activity: 912
Merit: 1000
I recall a few pages back someone was detailing what they did to get one to compile but I haven't heard much since. I have a RPi on hand and I'm willing to put up 30k CAP if anyone is interested. Also have a Pine64x on the way so maybe we can loop someone in who can focus on helping share CAPs more easily across platforms. 

I believe I had Bottlecaps QT running on my RPi1.  I absolutely have bottlecapsd running on RPi1.  I'll have a look tonight to see if I can remember what changes I had to make.  Both Hobonickels and Bottlecaps had a few things that needed tweeked to work on RPi1.

I have been able to get Bottlecaps-QT to compile on Rpi1 after some tweaks but my RPi with the weird 3.5" screen doesn't run X so I haven't been able to test it yet.
legendary
Activity: 912
Merit: 1000

I'll find a different coin without the headaches.

pal, there's no headache really,
all that stuff is the same for all coins.
my guess you just dont' want to wait until it syncs on its own.
unfortunately it takes very much time for some of them

Agree.  Not sure if he is slow or just being a pest.  Bottlecaps is as EZ-mode as crypto comes.   
full member
Activity: 135
Merit: 100

Roger that.  Hey, thanks btw.  Do you have a bottlecaps address?  Ill send you some.

so that will mean you succeeded with the wallet Smiley

i'll pm

Hey, as the blockchain is being downloaded via megasync, i noticed in my wallet that i have 1 connection and 124 bytes sent.  Thats good right?

you really need more to learn than i can imagine.

megasync has absolutely no connection to crypto, mega.nz is just a file storage cloud

perhaps your wallet just found a peer or seednode while you wait

the predownloaded chain files are used to cut the time needed for sync

I thought bitcoin was hard to learn, that was a walk in the park compared to this altcoin.  Ill waste 1 more hour and if I dont get anywhere Ill throw in the towel and send you whatever CAPS I have left. 

Ok,  So I tried sending 50 caps to my wallet but on cryptopia, but it said that it was pending withdraw, pool pending.  As far as downloading the blockchain goes, megasync is stuck at 31%.  I upgraded to the free account but it has more than enough space, no error there.  Wallet is still out of sync.  Ill send you some bottlecaps, I dont have much.  whatever order just got filled on cyptopia.

Screw it,

I'll find a different coin without the headaches.
full member
Activity: 135
Merit: 100

Roger that.  Hey, thanks btw.  Do you have a bottlecaps address?  Ill send you some.

so that will mean you succeeded with the wallet Smiley

i'll pm

Hey, as the blockchain is being downloaded via megasync, i noticed in my wallet that i have 1 connection and 124 bytes sent.  Thats good right?

you really need more to learn than i can imagine.

megasync has absolutely no connection to crypto, mega.nz is just a file storage cloud

perhaps your wallet just found a peer or seednode while you wait

the predownloaded chain files are used to cut the time needed for sync

I thought bitcoin was hard to learn, that was a walk in the park compared to this altcoin.  Ill waste 1 more hour and if I dont get anywhere Ill throw in the towel and send you whatever CAPS I have left. 

Ok,  So I tried sending 50 caps to my wallet but on cryptopia, but it said that it was pending withdraw, pool pending.  As far as downloading the blockchain goes, megasync is stuck at 31%.  I upgraded to the free account but it has more than enough space, no error there.  Wallet is still out of sync.  Ill send you some bottlecaps, I dont have much.  whatever order just got filled on cyptopia.
full member
Activity: 135
Merit: 100

Roger that.  Hey, thanks btw.  Do you have a bottlecaps address?  Ill send you some.

so that will mean you succeeded with the wallet Smiley

i'll pm

Hey, as the blockchain is being downloaded via megasync, i noticed in my wallet that i have 1 connection and 124 bytes sent.  Thats good right?
full member
Activity: 135
Merit: 100

You are right, the browser is better, much simpler.  But the second link you posted; what do I do with that info?  I have no idea what an add node does \ is\ goes etc


ok, back to school.

you create a text file bottlecaps.conf in your data folder (next to blk0001.dat, blkindex.dat etc.)

it should contain at least this (all nodes for the latest protocol version):

listen=1
addnode=209.188.18.52
..........................
..........................
addnode=24.132.11.149



Roger that.  Hey, thanks btw.  Do you have a bottlecaps address?  Ill send you some.
full member
Activity: 135
Merit: 100
Thanks buddy, I am giving megasync a try

hmmm, you don't need megasync to download it, simply by browser is enough, just in case

You are right, the browser is better, much simpler.  But the second link you posted; what do I do with that info?  I have no idea what an add node does \ is\ goes etc

Protocol Version 70003
addnode=62.210.122.16

Protocol Version 70004
addnode=209.188.18.52
addnode=193.227.134.11
addnode=178.32.251.11
addnode=172.93.110.218
addnode=82.138.34.183
addnode=75.74.98.28
addnode=50.7.8.
addnode=176.37.67.6
addnode=76.103.102.57
addnode=85.228.204.186
addnode=98.115.147.7
addnode=65.60.165.71
addnode=24.132.11.149
addnode=178.33.64.23
addnode=24.132.11.149
HuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuh?
full member
Activity: 135
Merit: 100
How in God's name do I get the wallet to sync?  I shouldn't have to be a C++programmer to get this stupid thing to work.  I am moving files every which way, the wallet.dat, the bottlecaps.conf.  By the time this is over I won't have any hair left.  It shouldn't be this complicated.  Every altcoin out there has a wallet with a simple interface.
.................................
I tried deleting everything except the wallet.dat and the bottlecaps.conf.  For one I cannot delete everything else, it won't let me, and two, even after I delete the other other stuff, it just pops right back up after I reopen the folder.

you probably do too much complex work, or smth in a wrong order, it's fairly simple

chain:

http://cryptochainer.com/dir/

nodes:

http://www.presstab.pw/phpexplorer/CAP/nodes.php

https://www.cryptopia.co.nz/BlockExplorer?coin=CAP



Thanks buddy, I am giving megasync a try
full member
Activity: 135
Merit: 100
That was a really well thought out and helpful answer.  I do have a few more questions though:
1.  When looking at your math below it looks like, the APR would be 300%, 125 every 15 days = 250 every 30 days = $3000 every year.  Is this faulty thinking?

2.  The first crypto I ever bought was reddcoin.  It delivered 5% a year.  I bought, as an example 100k reddcoins, and after staking for one year, had 5,000 more.  All I had to do was turn my computer on for a half hour every day, and the new reddcoins would be automatI call added to my account.  

3.  When I stake using bottlecaps, do I have to do any math?  For instance, with reddcoins it was really easy, turn the desktop on and stake.   If I buy bottlecaps do i have to divide or multiply anything?  Or do I just download the wallet and that's it.

4.  What kind of degrading interest rate is there?  This year it is 151%.  Is next year 75% so on and so on?


Just out of curiosity, if I placed a buy order on the sell side for 0.00000158 which would be the highest buy order, how long would it take to get filled, 1 week? 1 month 1 year?

I cannot thank you guys enough for answering my questions.  Thank you.
2.  Bottlecaps take 15 days for a block to mature, therefore in ideal situation you would open your wallet every 15days to sync then stake all your blocks.  Of course depending on factors like current difficulty and your block size etc your blocks will not stake the instant you open the wallet...it may take a few minutes or hours.

3.  No math.  Just unlock the wallet for POS whenever you have blocks > 15days old.  Only math you may have to do is you should keep your block size >2000 <12000

4.  Interest rate doesn't decrease over time per se.  It decreases based on difficulty and can rise and fall.  Kind of does the same thing at the end of the day.  As time moves on there will be more and more blocks competing for a stake, therefore difficulty rises and reward drops.  Last year we seemed to be ~180% so far this year I'd say the ave has been ~160%.  Some days higher some days lower.

Thank you kind sir!

How in God's name do I get the wallet to sync?  I shouldn't have to be a C++programmer to get this stupid thing to work.  I am moving files every which way, the wallet.dat, the bottlecaps.conf.  By the time this is over I won't have any hair left.  It shouldn't be this complicated.  Every altcoin out there has a wallet with a simple interface.

I tried deleting everything except the wallet.dat and the bottlecaps.conf.  For one I cannot delete everything else, it won't let me, and two, even after I delete the other other stuff, it just pops right back up after I reopen the folder.

Why doesnt the lead developer develop something more user friendly?  I have a bachelors, but I feel like I need a ph.d
Pages:
Jump to: