Author

Topic: [HYP] HyperStake | Generous Reward Staking | Advanced Staking Controls & Wallet - page 138. (Read 679332 times)

legendary
Activity: 882
Merit: 1024
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?
legendary
Activity: 1372
Merit: 1022
Anarchy is not chaos.
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
legendary
Activity: 1372
Merit: 1022
Anarchy is not chaos.
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.
legendary
Activity: 882
Merit: 1024
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!!!
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
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.
legendary
Activity: 882
Merit: 1024
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?
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
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.
legendary
Activity: 882
Merit: 1024
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?
legendary
Activity: 1330
Merit: 1000
Blockchain Developer
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.
legendary
Activity: 882
Merit: 1024
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?
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
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.
legendary
Activity: 1372
Merit: 1022
Anarchy is not chaos.
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
legendary
Activity: 882
Merit: 1024
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.
legendary
Activity: 1372
Merit: 1022
Anarchy is not chaos.
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.

sr. member
Activity: 466
Merit: 250
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.
sr. member
Activity: 433
Merit: 250
We are the first to program your future (c)

Well welcome to crypto!

etc...

Thank you very much for your answer  Grin

It will be good if we had this information in the wiki, like creating two pages "How to update your wallet" and "What to do when you have the message "WARNING : Checkpoint is too old. Wait for block chain to download, or notify developers"", I would like to di it but english I'm not my first language and I don't want to do some misspelling  Smiley

This warning won't bother any new users who start from the version 1.1.1.2, so a permanent entry isn't needed. But it would be helpful for others who encountered it to find a quick answer in wiki, and i'll try to make a special hot topic with workarounds of current client-wide issues. Billo has wrote a very splendid introductory note, I'll also place it into wiki, if he authorizes it Smiley
legendary
Activity: 1372
Merit: 1022
Anarchy is not chaos.
can you post a screen shot of that?
Hey it's the problem i've been having with eglfs.
Code:
EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
EGLFS: Unable to query screen depth, defaulting to 32.
EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
But i figured it might just be my compiler(qt5.2.x) as noone on the web has the same issue atleast not fatal like mine. I'm compiling again with qt 4 right now, i'll post back the results.
I've experienced the same issue with Truckcoin too, but not with any of the other wallets i have.

hmmm well this is a bummer.

"The eglfs back end supports widget-based and QML applications, and uses OpenGL, but will run in full screen mode and not be aware of any window manager."

Looks like you might be screwed on a pi2 and raspbian. Best I can tell you can install Maynard and this issue should be fixed

http://www.ics.com/blog/qt-raspberry-pi-2



[edit] no wait, im stupid. cook with qt4 and it will work.
Cooked with qt4, works like a charm. Thanks a lot.
Hey found another issue. If i launch hyperstake while truckcoin is running it somehow thinks that hyperstake process is already running. And it also happens the other way around.
Edit: nvm got it, hyperstake was hardforked from truckcoin, that's the thing. I guess i'll stake truckcoin while i'm waiting the 8 days or something like that.
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

As for the gentleman with the error message, it's not critical. Presstab did do an updated client a few days ago to eliminate the warning, but it's only an irritant. Nothing will hang, stop, or otherwise cause you problems, it's just obsolete code that he hadn't gotten to yet.
sr. member
Activity: 466
Merit: 250
can you post a screen shot of that?
Hey it's the problem i've been having with eglfs.
Code:
EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
EGLFS: Unable to query screen depth, defaulting to 32.
EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
But i figured it might just be my compiler(qt5.2.x) as noone on the web has the same issue atleast not fatal like mine. I'm compiling again with qt 4 right now, i'll post back the results.
I've experienced the same issue with Truckcoin too, but not with any of the other wallets i have.

hmmm well this is a bummer.

"The eglfs back end supports widget-based and QML applications, and uses OpenGL, but will run in full screen mode and not be aware of any window manager."

Looks like you might be screwed on a pi2 and raspbian. Best I can tell you can install Maynard and this issue should be fixed

http://www.ics.com/blog/qt-raspberry-pi-2



[edit] no wait, im stupid. cook with qt4 and it will work.
Cooked with qt4, works like a charm. Thanks a lot.
Hey found another issue. If i launch hyperstake while truckcoin is running it somehow thinks that hyperstake process is already running. And it also happens the other way around.
Edit: nvm got it, hyperstake was hardforked from truckcoin, that's the thing. I guess i'll stake truckcoin while i'm waiting the 8 days or something like that.
newbie
Activity: 12
Merit: 0

Well welcome to crypto!

etc...

Thank you very much for your answer  Grin

It will be good if we had this information in the wiki, like creating two pages "How to update your wallet" and "What to do when you have the message "WARNING : Checkpoint is too old. Wait for block chain to download, or notify developers"", I would like to do it but english I'm not my first language and I don't want to do some misspelling  Smiley
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
can you post a screen shot of that?
Hey it's the problem i've been having with eglfs.
Code:
EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
EGLFS: Unable to query screen depth, defaulting to 32.
EGLFS: To override, set QT_QPA_EGLFS_DEPTH.
But i figured it might just be my compiler(qt5.2.x) as noone on the web has the same issue atleast not fatal like mine. I'm compiling again with qt 4 right now, i'll post back the results.
I've experienced the same issue with Truckcoin too, but not with any of the other wallets i have.

hmmm well this is a bummer.

"The eglfs back end supports widget-based and QML applications, and uses OpenGL, but will run in full screen mode and not be aware of any window manager."

Looks like you might be screwed on a pi2 and raspbian. Best I can tell you can install Maynard and this issue should be fixed

http://www.ics.com/blog/qt-raspberry-pi-2



[edit] no wait, im stupid. cook with qt4 and it will work.
Jump to: