Bitcoin Forum
April 25, 2024, 12:59:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 [43] 44 45 46 47 48 49 50 51 52 53 »
  Print  
Author Topic: ♘♕♔SWING♚ ♛♞ ▬▬▬▬●Programmatically Fluctuating Miners Cost!●▬▬▬▬ Now On Bittrex!  (Read 119340 times)
murderouskirk (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002



View Profile
June 06, 2016, 09:40:22 PM
 #841

Just wanted to add on some extra thoughts about how we might get creative with the rewards schema. I figure as long as we have an excuse to edit things we should look at doing something cool.

https://www.youtube.com/watch?v=e8nuI8frR4M

According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714006761
Hero Member
*
Offline Offline

Posts: 1714006761

View Profile Personal Message (Offline)

Ignore
1714006761
Reply with quote  #2

1714006761
Report to moderator
1714006761
Hero Member
*
Offline Offline

Posts: 1714006761

View Profile Personal Message (Offline)

Ignore
1714006761
Reply with quote  #2

1714006761
Report to moderator
cesmak
Legendary
*
Offline Offline

Activity: 1050
Merit: 1009



View Profile
June 07, 2016, 06:38:32 AM
 #842

Redownloaded again the whole blockchain, using the seed node, i have only it as a connection, tried also the rescan, but my wallet don't want to turn again on track still, probably, on a fork stuck again on block 241353 what i have to do now ?

tkari
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
June 07, 2016, 01:05:28 PM
 #843

chain appears to be moving if on the right fork.  last block for me = 242137

murderouskirk (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002



View Profile
June 08, 2016, 03:24:50 AM
 #844

Alright guys. Here's what I'm looking into doing, and the plan of action to do it.

I haven't gotten much feedback on the rewards schema so I decided to just come up with something I liked. If you have feedback, ideas, or suggestions now is the time to speak up!

So I'm looking at turning this:



Into this:



I'm not entirely sure how it will impact inflation, but what I do know is this. Just looking at the chart we can assume an average reward of 5 coins in the new schema. Also, when simulating current POS rewards i totaled about 500,000 coins per 100,000 blocks (also an average of 5 coins per block). This doesn't take into account how the current POW rewards lower inflation. So, it's possible we might see a slight increase in inflation rates if we do this.

It's also worth noting that this would essentially eliminate the competitive edge POS workers have over POW workers. POW would earn the same as POS, the only difference being one increases over time and one decreases.

I think this schema would:
• Simplify the rewards
• Make it easier for people to understand at a glance
• Encourage more miners to join Swing
• Fix the rounding errors causing sync problems
• Create longer, more obvious cycles to base trades on
• Encourage POW miners to stake their rewards, and encourage POS workers to mine.

Here's what it would take to accomplish this upgrade. (Some steps possibly missing)
Spin up new test server
Install Swing
Download blockchain, check for match with seed node.
   if match: use it
   if not: get it to match
Get block count ("BC")
Turn off new node
Write new rewards code
   set it as rewards for blocks > BC+5
   Patch rounding errors
Add checkpoints at BC
Increase protocol version
   (Disables connections from older versions)
Change seed node IP to test server
Upgrade test server to new core
   delete /Swing
   keep ./Swing (wallet, blockchain data, config, etc..)
   git clone and install new Swing code
   boot Swing
Add coins and try to enable staking
Wait for blockchain to move
Wait 5 blocks for new rewards to kick in
Wait a few more blocks to test for successful fork
Wallet upgrades?
   Check if I can/should make any upgrades to the wallet
Increase wallet version
Compile new windows wallet
   Add Wallet.dat
   Attempt to connect to test server
   Download blockchain
      Check for sync errors
   Test POS rewards code
      Make sure the correct POS rewards are coming in
      Watch number precision, check for signs of potential rounding errors
      Allow POW diff to fall for next step
Attempt to POW mine
   Setup solo miner (~415 MH/s)
   Get it to start mining
   Watch wallet for mined blocks
      Make sure the correct rewards are coming in
      Watch number precision, check for signs of potential rounding errors
Turn off windows peer
Checkpoint a block from successful rewards fork
Upgrade test server again(to include new checkpoint)
   delete /Swing
   keep ./Swing (wallet, blockchain data, config, etc..)
   git clone and install new Swing code
   boot Swing
Compile windows wallet again (to include new checkpoint)
   Run windows wallet and check for sync
   resume mining
Test new client
   Put wallet on new windows enviornment
   Sync to new peers
   Download whole blockchain
   Confirm proper block sync
   Make a test transaction
   Check peers to confirm seperation from old versions
Double check
   POS rewards
   Mining
   POW rewards
   New network sync
      Connected to new peers
      Not connected to old versions
      Block agreement
   Transactions working
   Protocol versions
   Wallet versions
Launch
   Upload wallet
   Release wallet and new core code
      Ask server operators to redownload the blockchain
         Block explorers
         Exchanges
         Pools
F5 repeatedly to see if it works or explodes.
   If it works
      -yay!
   If it completely explodes
      -Turn on coffee pot..

Please Post A Response With Your Thoughts!!
opmac
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
June 08, 2016, 11:11:15 AM
 #845

I am good with this plan.

I can't seem to get wallet working correctly and have invested a lot into it so far.

tkari
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
June 08, 2016, 12:35:45 PM
 #846

I like it too, Captain.   Do you need any help?

cesmak
Legendary
*
Offline Offline

Activity: 1050
Merit: 1009



View Profile
June 08, 2016, 12:47:18 PM
 #847

Go on dev... we need to exit from this mess... my wallet is close no staking no movement, all stuck and atm unrecoverable.... so i hope in a new version that will take us back on track....

Kostolany, Jr.
Full Member
***
Offline Offline

Activity: 195
Merit: 100



View Profile
June 08, 2016, 01:24:09 PM
 #848

Yeap, sounds like a good plan. Fine with me  Smiley

„While buying one should be romantic, while selling realistic (and in the meantime he should sleep).“
– André Kostolany
irwanjabryg
Hero Member
*****
Offline Offline

Activity: 980
Merit: 512



View Profile
June 09, 2016, 06:53:22 AM
 #849


Market activity is very low
zazarb
Legendary
*
Offline Offline

Activity: 3360
Merit: 1548


Get loan in just five minutes goo.gl/8WMW6n


View Profile WWW
June 09, 2016, 11:43:26 AM
 #850

I just want to know, in chainz.cryptoid.inf data correct?
because still in one my pc swing wallet have much more coins(that main wallet, which staking nonstop long time), then in other(but same address)
I already - rescan  and "repairwallet" both wallet, but any change, still different balance

       ███████████████▄▄
    ██████████████████████▄
  ██████████████████████████▄
 ███████   ▀████████▀   ████▄
██████████    █▀  ▀    ██████▄
███████████▄▄▀  ██  ▀▄▄████████
███████████          █████████
███████████▀▀▄  ██  ▄▀▀████████
██████████▀   ▀▄  ▄▀   ▀██████▀
 ███████  ▄██▄████▄█▄  █████▀
  ██████████████████████████▀
    ██████████████████████▀
       ███████████████▀▀
.
.Duelbits.
.
..THE MOST REWARDING CASINO......
   ▄▄▄▄████▀███▄▄▄▄▄
▄███▄▀▄██▄   ▄██▄▀▄███▄
████▄█▄███▄█▄███▄█▄████
███████████████████████   ▄██▄
██     ██     ██     ██   ▀██▀
██ ▀▀█ ██ ▀▀█ ██ ▀▀█ ██    ██
██  █  ██  █  ██  █  ██
█▌  ██
██     ██     ██     ████  ██
█████████████████████████  ██
████████████████████████████▀
█████████████████████████
█████████████████████████
████████████████████████▌
       +4,000      
PROVABLY FAIR
GAMES
   $500,000  
MONTHLY
PRIZE POOL
      $10,000     
BLACKJACK
GIVEAWAY
murderouskirk (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002



View Profile
June 10, 2016, 06:17:52 PM
Last edit: June 10, 2016, 06:43:53 PM by murderouskirk
 #851

Ok guys,

I've been doing a lot of testing. It's slow work since it involves a lot of chain re-downloading, but here's what I've found.

Most of the network is on the correct chain. When I say the "correct chain" I DO mean the chain that https://chainz.cryptoid.info/swing/ is currently reporting. It appears to have the most weight, and both linux and windows environments seem to sync up with it without any special configuration.

I think most of the network is doing exactly what it's supposed to do, ignoring any shorter / dead forks and collectively agreeing to use the healthiest one. I think it took a few days for this to happen for the following reason.

The issue i'm seeing is that the seed node itself wants to disagree. It seems to be ending up on a wrong fork with very little POS / POW weight. While I was testing it even slowed to a stop. For this reason I realized that developing a manual fork moving the whole network into agreement with the seed node would be a bad idea. I am currently trying to get it to agree with the rest of the network. The odd thing is that even a new wallet on the same linux environment agrees with the rest of the network, but the seed node doesn't. I have had time to re-download the chain on it once and it ended up on the wrong chain again. I'm about to try again and will get it synced up eventually. (If you have maxconnections = 1, don't do that.)

I think part of the reason that this happened to the seed node was a stability band-aid I implemented. It worked great for a while but the band-aid "fell off" about a week ago. When the chain got bumpy a few months ago I put my coins on the seed node and turned on staking. My thinking was that if the seed node was breaking blocks occasionally it would keep things moving and prevent the chain from halting. It's something that helped alleviate similar issues in our previous coins (Greed / GE). This worked pretty well actually and I've kept my coins there since then, but about a week ago the seed node broke a block that the network disagreed with. For whatever reason (probably a rounding error) the seed node refused the longer correct chain and continued down its own path breaking blocks by itself (any maybe a couple others). Naturally this confused connections to the network, and as I said above it eventually ran out of weight and came to a stop. Naturally it would be unethical to pull a manual fork forcing the network to accept those coins. I'll have to lose about a weeks worth of stakes, but I'm working on getting the seed node in sync and in agreement rather than going with the original plan to get everyone in sync with the seed node. I will also remove the stability "band-aid" and prevent the seed node from generating any more blocks itself. That way it can't try to push forward with blocks the network doesn't agree with.

I think most of you should already be on the correct chain at this point, and if not you should probably be able to get onto it. With a fresh blockchain download you should use the seed node just for its peers and get the correct chain. If you delete the blockchain to re-download, leave peers.dat. You'll want as many peers as possible.

I am going to keep working on getting the seed node in agreement with the rest of the network, then I plan to keep working on the upgrade.

If you want to confirm you are on the correct chain check the block explorer. Also, here's an example of the getinfo from the right vs wrong chain.

//Correct and healthy
 "difficulty" : {
        "proof-of-work" : 190,910.73974916,
        "proof-of-stake" : 0.07002777
    },

//Incorrect and Unhealthy

    "difficulty" : {
        "proof-of-work" : 86,980.06723642,
        "proof-of-stake" : 0.00024414
    },
murderouskirk (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002



View Profile
June 10, 2016, 08:59:16 PM
 #852

Update: I managed to get the seed node back in agreement with the rest of the network. We should be pretty stable now. I'm going to continue working on that core upgrade.

Also I appreciate the feedback on the plans guys. It helps me proceed when I know you're all in agreement.

I like it too, Captain.   Do you need any help?

I think most of the core work is just a matter of me getting through it (unless someone here is familiar with core development and feels like helping).

However, if we change the core we will probably need a new website and ANN post. We could probably use that regardless of the update.

If anyone is good at website / ANN creation / general marketing and wants to help, that's probably the best way to do so. Building up a team of active helpers for things like this can go a very, very long way.
pjcltd
Legendary
*
Offline Offline

Activity: 1778
Merit: 1003

NodeMasters


View Profile WWW
June 10, 2016, 09:29:20 PM
 #853

Hi guys
If you need a new node I'm happy to put one up for you FOC  to help your coin

Thanks
Paul

murderouskirk (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1002



View Profile
June 11, 2016, 12:08:52 AM
 #854

Hi guys
If you need a new node I'm happy to put one up for you FOC  to help your coin

Thanks
Paul



That would be great!

Here's my cheat sheet for Linux node install if it helps.

Code:
apt-get update
apt-get upgrade

apt-get install git

sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb++-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libqrencode-dev

apt-get install make

wget http://miniupnp.free.fr/files/miniupnpc-1.6.tar.gz
tar -xzvf miniupnpc-1.6.tar.gz
cd miniupnpc-1.6
make
sudo su
make install

cd ..
git clone https://github.com/SwingCoin/Swing
cd Swing
chmod 755 src/leveldb/build_detect_platform
cd src/leveldb/
make libleveldb.a
make libmemenv.a
cd ..
make -f makefile.unix

./Swingd

cd ~/.Swing
vim Swing.conf
[Insert] (if needed)
daemon=1
server=1
rpcuser=userA
rpcpass=123
[esc][z][z]

cd ~/Swing/src
./Swingd
./Swingd getinfo
./Swingd stop
Kostolany, Jr.
Full Member
***
Offline Offline

Activity: 195
Merit: 100



View Profile
June 11, 2016, 10:27:55 AM
 #855

I'm on right chain again, thanks dev for solving this!  Smiley

I edited Swing.conf, deleted everything there a inserted up to date nodes from https://chainz.cryptoid.info/swing/#!network

Tip for you guys: I backup blockchains every week or two, never used it - until now.  So I needed only download two weeks of chain, less than 30 mins and I stake like champ again  Smiley
Backing up is important  Grin

Ok guys,

I've been doing a lot of testing. It's slow work since it involves a lot of chain re-downloading, but here's what I've found.

Most of the network is on the correct chain. When I say the "correct chain" I DO mean the chain that https://chainz.cryptoid.info/swing/ is currently reporting. It appears to have the most weight, and both linux and windows environments seem to sync up with it without any special configuration.

I think most of the network is doing exactly what it's supposed to do, ignoring any shorter / dead forks and collectively agreeing to use the healthiest one. I think it took a few days for this to happen for the following reason.

The issue i'm seeing is that the seed node itself wants to disagree. It seems to be ending up on a wrong fork with very little POS / POW weight. While I was testing it even slowed to a stop. For this reason I realized that developing a manual fork moving the whole network into agreement with the seed node would be a bad idea. I am currently trying to get it to agree with the rest of the network. The odd thing is that even a new wallet on the same linux environment agrees with the rest of the network, but the seed node doesn't. I have had time to re-download the chain on it once and it ended up on the wrong chain again. I'm about to try again and will get it synced up eventually. (If you have maxconnections = 1, don't do that.)

I think part of the reason that this happened to the seed node was a stability band-aid I implemented. It worked great for a while but the band-aid "fell off" about a week ago. When the chain got bumpy a few months ago I put my coins on the seed node and turned on staking. My thinking was that if the seed node was breaking blocks occasionally it would keep things moving and prevent the chain from halting. It's something that helped alleviate similar issues in our previous coins (Greed / GE). This worked pretty well actually and I've kept my coins there since then, but about a week ago the seed node broke a block that the network disagreed with. For whatever reason (probably a rounding error) the seed node refused the longer correct chain and continued down its own path breaking blocks by itself (any maybe a couple others). Naturally this confused connections to the network, and as I said above it eventually ran out of weight and came to a stop. Naturally it would be unethical to pull a manual fork forcing the network to accept those coins. I'll have to lose about a weeks worth of stakes, but I'm working on getting the seed node in sync and in agreement rather than going with the original plan to get everyone in sync with the seed node. I will also remove the stability "band-aid" and prevent the seed node from generating any more blocks itself. That way it can't try to push forward with blocks the network doesn't agree with.

I think most of you should already be on the correct chain at this point, and if not you should probably be able to get onto it. With a fresh blockchain download you should use the seed node just for its peers and get the correct chain. If you delete the blockchain to re-download, leave peers.dat. You'll want as many peers as possible.

I am going to keep working on getting the seed node in agreement with the rest of the network, then I plan to keep working on the upgrade.

If you want to confirm you are on the correct chain check the block explorer. Also, here's an example of the getinfo from the right vs wrong chain.

//Correct and healthy
 "difficulty" : {
        "proof-of-work" : 190,910.73974916,
        "proof-of-stake" : 0.07002777
    },

//Incorrect and Unhealthy

    "difficulty" : {
        "proof-of-work" : 86,980.06723642,
        "proof-of-stake" : 0.00024414
    },


„While buying one should be romantic, while selling realistic (and in the meantime he should sleep).“
– André Kostolany
Kostolany, Jr.
Full Member
***
Offline Offline

Activity: 195
Merit: 100



View Profile
June 11, 2016, 11:08:14 AM
 #856

As I was on wrong chain for about 2 days, I have now many "generated but not accepted" in my wallet...
Is there a way how to get rid of those?
Thanks

„While buying one should be romantic, while selling realistic (and in the meantime he should sleep).“
– André Kostolany
gregofdoom
Legendary
*
Offline Offline

Activity: 1834
Merit: 1006



View Profile
June 11, 2016, 03:05:43 PM
 #857

As I was on wrong chain for about 2 days, I have now many "generated but not accepted" in my wallet...
Is there a way how to get rid of those?
Thanks

Use of the console: repairwallet
Should help.
Kostolany, Jr.
Full Member
***
Offline Offline

Activity: 195
Merit: 100



View Profile
June 11, 2016, 03:17:06 PM
 #858

thanks, tried that but it is still there...

As I was on wrong chain for about 2 days, I have now many "generated but not accepted" in my wallet...
Is there a way how to get rid of those?
Thanks

Use of the console: repairwallet
Should help.


„While buying one should be romantic, while selling realistic (and in the meantime he should sleep).“
– André Kostolany
opmac
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
June 12, 2016, 03:06:23 PM
 #859

Got everything synced and working now.

Just took the nodes and added them to a conf file and downloaded the chain over.

But it does look like I have missed out on alot of SWING that I mined from zpool

opmac
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
June 12, 2016, 03:56:14 PM
 #860

Also withdrawals are not possible from Bittrex 

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 [43] 44 45 46 47 48 49 50 51 52 53 »
  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!