Bitcoin Forum
November 09, 2024, 02:28:46 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 [249] 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 ... 386 »
  Print  
Author Topic: [HYP] HyperStake | Generous Reward Staking | Advanced Staking Controls & Wallet  (Read 679322 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
Biomech
Legendary
*
Offline Offline

Activity: 1372
Merit: 1022


Anarchy is not chaos.


View Profile
May 30, 2015, 11:54:28 PM
 #4961

That's not new.
HYP was forked from TRK. What you do is make sure that the port and rpcport are set to different ports in your hyperstake.conf and truckcoin.conf files. That is in the wiki, I'm pretty sure Cheesy
EDIT: Ya ninja'd me Cheesy
Yeah, thanks for the tip, i was starting to think i'd have to abandon one Sad
I found trk port, but not hyp.

As long as it's not conflicting with something else, it really don't matter. 22, 587, and about five others are system ports and illegal for RPC or P2P, but that's about it. I often run multiple instances and just set whatever port I have available so that they don't conflict. I don't remember the ports that were supposed to be assigned to HYP, but it practically don't matter as long as they're not the same as something else you have running.

Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
May 30, 2015, 11:57:36 PM
 #4962

Do you guys have some useful guide on creating a bootstrap.dat?

I could host one for you guys if you want, I did it before where I had loaded up my Blockchain as a zip file and it worked but that isn't really the proper way to do it.
Biomech
Legendary
*
Offline Offline

Activity: 1372
Merit: 1022


Anarchy is not chaos.


View Profile
May 31, 2015, 12:03:19 AM
 #4963

Do you guys have some useful guide on creating a bootstrap.dat?

I could host one for you guys if you want, I did it before where I had loaded up my Blockchain as a zip file and it worked but that isn't really the proper way to do it.

I'm not home right now, but I have a script for it. Basically it's a script that gathers all the BLK000*.dat files in order and put's 'em together, renames the output bootstrap.dat, and then copies it to your specified directory for download. Can be set as a cron, so it stays up to date. I've only used it once, I usually just do it manually. (cat blk0000 blk0001 blk000* ... > bootstap.dat
billotronic
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


Crackpot Idealist


View Profile
May 31, 2015, 12:16:27 AM
 #4964

yeah what bio said! and I am almost 100% certain you should close the client before doing so. (I always do)

best part is with hyp since the blockchain is still small you can actually just rename blk0001.dat to bootstrap.dat or cat it like bio said if you wanted to make it nice and automated.

that is a feature press should put into his explorer.

This post sums up why all this bullshit is a scam
Read It. Hate It. Change the facts that it represents.
https://bitcointalk.org/index.php?topic=1606638.msg16139644#msg16139644
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
May 31, 2015, 12:47:18 AM
 #4965

Do you guys have some useful guide on creating a bootstrap.dat?

I could host one for you guys if you want, I did it before where I had loaded up my Blockchain as a zip file and it worked but that isn't really the proper way to do it.

I'm not home right now, but I have a script for it. Basically it's a script that gathers all the BLK000*.dat files in order and put's 'em together, renames the output bootstrap.dat, and then copies it to your specified directory for download. Can be set as a cron, so it stays up to date. I've only used it once, I usually just do it manually. (cat blk0000 blk0001 blk000* ... > bootstap.dat


I was more interested in the process of making the bootstrap itself, not just for HyperStake. I want to be able to add it to the list of guides and stuff I have here https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833

Are you able to link me to an already easy to go through guide if you have it or walk me through the script?
presstab (OP)
Legendary
*
Offline Offline

Activity: 1330
Merit: 1000


Blockchain Developer


View Profile
May 31, 2015, 01:50:17 AM
 #4966

Do you guys have some useful guide on creating a bootstrap.dat?

I could host one for you guys if you want, I did it before where I had loaded up my Blockchain as a zip file and it worked but that isn't really the proper way to do it.

I'm not home right now, but I have a script for it. Basically it's a script that gathers all the BLK000*.dat files in order and put's 'em together, renames the output bootstrap.dat, and then copies it to your specified directory for download. Can be set as a cron, so it stays up to date. I've only used it once, I usually just do it manually. (cat blk0000 blk0001 blk000* ... > bootstap.dat


I was more interested in the process of making the bootstrap itself, not just for HyperStake. I want to be able to add it to the list of guides and stuff I have here https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833

Are you able to link me to an already easy to go through guide if you have it or walk me through the script?

Rename blk0001.dat to bootstrap.dat. that's the magic secret.

Projects I Contribute To: libzerocoin | Veil | PIVX | HyperStake | Crown | SaluS
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
May 31, 2015, 01:51:33 AM
 #4967

Do you guys have some useful guide on creating a bootstrap.dat?

I could host one for you guys if you want, I did it before where I had loaded up my Blockchain as a zip file and it worked but that isn't really the proper way to do it.

I'm not home right now, but I have a script for it. Basically it's a script that gathers all the BLK000*.dat files in order and put's 'em together, renames the output bootstrap.dat, and then copies it to your specified directory for download. Can be set as a cron, so it stays up to date. I've only used it once, I usually just do it manually. (cat blk0000 blk0001 blk000* ... > bootstap.dat


I was more interested in the process of making the bootstrap itself, not just for HyperStake. I want to be able to add it to the list of guides and stuff I have here https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833

Are you able to link me to an already easy to go through guide if you have it or walk me through the script?

Rename blk0001.dat to bootstrap.dat. that's the magic secret.

But how then do you allow other peers to connect to it and then use it as the bootstrap?
billotronic
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


Crackpot Idealist


View Profile
May 31, 2015, 01:55:15 AM
 #4968

Do you guys have some useful guide on creating a bootstrap.dat?

I could host one for you guys if you want, I did it before where I had loaded up my Blockchain as a zip file and it worked but that isn't really the proper way to do it.

I'm not home right now, but I have a script for it. Basically it's a script that gathers all the BLK000*.dat files in order and put's 'em together, renames the output bootstrap.dat, and then copies it to your specified directory for download. Can be set as a cron, so it stays up to date. I've only used it once, I usually just do it manually. (cat blk0000 blk0001 blk000* ... > bootstap.dat


I was more interested in the process of making the bootstrap itself, not just for HyperStake. I want to be able to add it to the list of guides and stuff I have here https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833

Are you able to link me to an already easy to go through guide if you have it or walk me through the script?

Rename blk0001.dat to bootstrap.dat. that's the magic secret.

But how then do you allow other peers to connect to it and then use it as the bootstrap?

you upload it somewhere and let them download it. thats it.

This post sums up why all this bullshit is a scam
Read It. Hate It. Change the facts that it represents.
https://bitcointalk.org/index.php?topic=1606638.msg16139644#msg16139644
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
May 31, 2015, 01:56:34 AM
 #4969

Do you guys have some useful guide on creating a bootstrap.dat?

I could host one for you guys if you want, I did it before where I had loaded up my Blockchain as a zip file and it worked but that isn't really the proper way to do it.

I'm not home right now, but I have a script for it. Basically it's a script that gathers all the BLK000*.dat files in order and put's 'em together, renames the output bootstrap.dat, and then copies it to your specified directory for download. Can be set as a cron, so it stays up to date. I've only used it once, I usually just do it manually. (cat blk0000 blk0001 blk000* ... > bootstap.dat


I was more interested in the process of making the bootstrap itself, not just for HyperStake. I want to be able to add it to the list of guides and stuff I have here https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833

Are you able to link me to an already easy to go through guide if you have it or walk me through the script?

Rename blk0001.dat to bootstrap.dat. that's the magic secret.

But how then do you allow other peers to connect to it and then use it as the bootstrap?

you upload it somewhere and let them download it. thats it.

Just the bootstrap.dat? What is done to use it?
billotronic
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


Crackpot Idealist


View Profile
May 31, 2015, 02:27:20 AM
 #4970

the end user would put the bootstrap into their datadir, start the client, the client processes the blocks, you save a shit ton of time vs syncing a virgin client. it is not the fastest thing in the world, but i would guess of the time savings at the very least 75%.

also, super sexy pi client just cooked for distro from sluppy can be found on the release page check it out.

This post sums up why all this bullshit is a scam
Read It. Hate It. Change the facts that it represents.
https://bitcointalk.org/index.php?topic=1606638.msg16139644#msg16139644
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
May 31, 2015, 04:15:38 AM
 #4971

the end user would put the bootstrap into their datadir, start the client, the client processes the blocks, you save a shit ton of time vs syncing a virgin client. it is not the fastest thing in the world, but i would guess of the time savings at the very least 75%.

also, super sexy pi client just cooked for distro from sluppy can be found on the release page check it out.

So you put it in the same directory as the Blockchain? If you have an existing Blockchain do you delete that? What is the reason of renaming it bootstrap.dat? Would it just not be easier to replace the Blockchain with another one and not have to rename it?


Congrats on the new pi client!!!
Biomech
Legendary
*
Offline Offline

Activity: 1372
Merit: 1022


Anarchy is not chaos.


View Profile
May 31, 2015, 04:51:28 AM
 #4972

yeah what bio said! and I am almost 100% certain you should close the client before doing so. (I always do)

best part is with hyp since the blockchain is still small you can actually just rename blk0001.dat to bootstrap.dat or cat it like bio said if you wanted to make it nice and automated.

that is a feature press should put into his explorer.
https://ecua.mobi/how-to-create-bootstrap-dat/


There ya go. I used it once, but didn't have a download directory setup. I do now, and once GMC is fixed, I'll be using this script to maintain a constantly updated bootstrap. Might do the same for all the coins I collect Cheesy Though that would require a bigger server than I have right now. At any rate, the script works with minimal modification, or you can just do it manually. You MIGHT need to run this as root or chown your blocks directory to make it work, though.
Biomech
Legendary
*
Offline Offline

Activity: 1372
Merit: 1022


Anarchy is not chaos.


View Profile
May 31, 2015, 04:57:39 AM
 #4973

the end user would put the bootstrap into their datadir, start the client, the client processes the blocks, you save a shit ton of time vs syncing a virgin client. it is not the fastest thing in the world, but i would guess of the time savings at the very least 75%.

also, super sexy pi client just cooked for distro from sluppy can be found on the release page check it out.

So you put it in the same directory as the Blockchain? If you have an existing Blockchain do you delete that? What is the reason of renaming it bootstrap.dat? Would it just not be easier to replace the Blockchain with another one and not have to rename it?


Congrats on the new pi client!!!

Yes, you put it in (in this case) .hyperstake (or the windows/Mac equivalent) and then delete everything but wallet.dat, hyperstake.conf and bootstrap.dat

The reason for renaming it is that the core code looks for bootstrap.dat to import a static blockchain, and it imports the whole freaking thing before indexing it. That saves a shitload of time. The reason for not just copying the whole .hyperstake (or whatever coin) data directory is that the data may be corrupt, have transactions only specific to your wallet, etc. And of course, the size. Everything that is needed for the client to extract all that information is in the blk000* files. There are several of them as the blockchain grows, so if you're making a bootstrap AND there is more than one, you need to combine them in serial order. It's easy to do, and it will save you endless headaches when synching a new install or recovering a messed up wallet install.

Another thing I do, and highly suggest if you're not running on a Pi or something tiny like that is add txindex=1 to your configuration file. This pulls ALL the blockchain data, like a block explorer. so you can pull up the data from any valid block in the chain in your own client, not just the ones you had a transaction in Cheesy
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
May 31, 2015, 05:15:59 AM
 #4974

yeah what bio said! and I am almost 100% certain you should close the client before doing so. (I always do)

best part is with hyp since the blockchain is still small you can actually just rename blk0001.dat to bootstrap.dat or cat it like bio said if you wanted to make it nice and automated.

that is a feature press should put into his explorer.
https://ecua.mobi/how-to-create-bootstrap-dat/


There ya go. I used it once, but didn't have a download directory setup. I do now, and once GMC is fixed, I'll be using this script to maintain a constantly updated bootstrap. Might do the same for all the coins I collect Cheesy Though that would require a bigger server than I have right now. At any rate, the script works with minimal modification, or you can just do it manually. You MIGHT need to run this as root or chown your blocks directory to make it work, though.

Perfect! That's exactly what I was looking for, I knew you guys were holding out on me Smiley

Tip you guys come CON for the help?
AngelLox
Sr. Member
****
Offline Offline

Activity: 466
Merit: 250



View Profile
May 31, 2015, 09:58:57 AM
Last edit: May 31, 2015, 03:35:01 PM by AngelLox
 #4975

So um i'm no expert or anything like that, but i'm curious, why are bootstraps used? Couldn't one just paste the blk000 and blkindex into his client data folder?
Biomech
Legendary
*
Offline Offline

Activity: 1372
Merit: 1022


Anarchy is not chaos.


View Profile
May 31, 2015, 07:29:05 PM
 #4976

So um i'm no expert or anything like that, but i'm curious, why are bootstraps used? Couldn't one just paste the blk000 and blkindex into his client data folder?

Mainly for speed, and also for the new guy trying to get synched. Good developers try to maintain an up to date bootstrap so that new people don't have to wait (sometimes literally) days to get up to speed. For instance, bitcoin synching from a bootstrap takes around seven hours. Synching from the network can take over a week.

On smaller coins, it's more a convenience. Also, it is possible for your local copy of the block chain to get corrupted, and a bootstrap will get you to a reasonable block height and allow those last few blocks to synch fast, instead of starting from zero.
AngelLox
Sr. Member
****
Offline Offline

Activity: 466
Merit: 250



View Profile
May 31, 2015, 07:37:14 PM
Last edit: May 31, 2015, 08:54:21 PM by AngelLox
 #4977

Okay, one last thing. I have setted up a .conf like the guide says, am i missing anything?
Code:
rpcuser=hyperstakecrew
rpcpassword=Whops
rpcallowip=127.0.0.1
gen=0
server=1
daemon=1
listen=1
Biomech
Legendary
*
Offline Offline

Activity: 1372
Merit: 1022


Anarchy is not chaos.


View Profile
May 31, 2015, 07:46:07 PM
 #4978

Okay, one last thing. I have setted up a .conf like the guide says, am i missing anything?
Code:
rpcuser=hyperstakecrew
rpcpassword=AUeYFdcL6r8YXurj23xLbIAVsxVflN7R
rpcallowip=127.0.0.1
gen=0
server=1
daemon=1
listen=1

You might want to define the ports (rpcport=<port> , port=<port> ) but if it's not giving any conflicts, that's totally optional. I always run txindex=1 so I have ALL block transaction data, but that too is optional. It looks fine.
Crestington
Legendary
*
Offline Offline

Activity: 882
Merit: 1024



View Profile
May 31, 2015, 07:49:30 PM
 #4979

Okay, one last thing. I have setted up a .conf like the guide says, am i missing anything?
Code:
rpcuser=hyperstakecrew
rpcpassword=AUeYFdcL6r8YXurj23xLbIAVsxVflN7R
rpcallowip=127.0.0.1
gen=0
server=1
daemon=1
listen=1

If that is the password you are using, you should change it and not be posting it publically, it doesn't pose an immediate risk but better to be safe than sorry.
AngelLox
Sr. Member
****
Offline Offline

Activity: 466
Merit: 250



View Profile
May 31, 2015, 08:55:28 PM
Last edit: May 31, 2015, 09:19:11 PM by AngelLox
 #4980

Changed it, thanks for the heads up.
I also lost the Hyperstake folder somehow, now i have to reimport the bootstrap all over. I hope it gets it done during the night.
Pages: « 1 ... 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 [249] 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 ... 386 »
  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!