Bitcoin Forum
November 01, 2024, 08:31:05 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 [141] 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 ... 411 »
  Print  
Author Topic: [ANN] [PMC] Premine Coin | Rare | Mining Transaction Fee Proof of Concept  (Read 382877 times)
Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 03:39:16 PM
 #2801

Ok, so here's what I have;

- Check the blockchain every 3 seconds
- However many blocks have been generated in that time, divide the payout by that
- If txfee is less than 0.00000001, set it to 0.00000001
- current txfee is 0.00010000. So if 10 blocks are generated in 3 seconds, the payout will be 0.00001000
If 0 blocks have been generated you could get a divide by zero error there Wink

Can't happen. It will only run the reward part of the script if 1 or more blocks has been generated. Smiley

If no new blocks have been generated, it will wait another 3 seconds until one is.

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
elrapido80
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
February 01, 2014, 03:42:53 PM
 #2802

Ok, so here's what I have;

- Check the blockchain every 3 seconds
- However many blocks have been generated in that time, divide the payout by that
- If txfee is less than 0.00000001, set it to 0.00000001
- current txfee is 0.00010000. So if 10 blocks are generated in 3 seconds, the payout will be 0.00001000
If 0 blocks have been generated you could get a divide by zero error there Wink

Can't happen. It will only run the reward part of the script if 1 or more blocks has been generated. Smiley

If no new blocks have been generated, it will wait another 3 seconds until one is.
Explorer looks better now with the tx's.

Nahh there's still something wrong, they all have 0.0001 fees, and some blocks still have multiples. Somehow you're sending tx's too often, or there would be more blocks with 0 of your reward tx's.
Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 03:48:53 PM
 #2803

Ok, so here's what I have;

- Check the blockchain every 3 seconds
- However many blocks have been generated in that time, divide the payout by that
- If txfee is less than 0.00000001, set it to 0.00000001
- current txfee is 0.00010000. So if 10 blocks are generated in 3 seconds, the payout will be 0.00001000
If 0 blocks have been generated you could get a divide by zero error there Wink

Can't happen. It will only run the reward part of the script if 1 or more blocks has been generated. Smiley

If no new blocks have been generated, it will wait another 3 seconds until one is.
Explorer looks better now with the tx's.

Nahh there's still something wrong, they all have 0.0001 fees, and some blocks still have multiples. Somehow you're sending tx's too often, or there would be more blocks with 0 of your reward tx's.

Yeah, not sure what the issue is there. It should be changing that value. For some reason it's not changing the tx fee. I'll look into it.

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 04:00:51 PM
 #2804

It seems to be working fine. It's just that the tx fees don't always necessarily end up in the next block, so there's a slight chance you'll get double or even triple rewards, but I can easily avoid that by upping the time between payouts to balance it out. It's not really such a bad thing anyway. Call it an unintended payout bonus.  Smiley

The blockchain isn't move fast enough to see if it will divide the payout when it speeds up, but with this current payout size I can leave it running for a few hours.

Quick sample of my last 3 minute run;

Quote
Current Block18924
Difference:1
Payout:0.0001

Current Block18925
Difference:1
Payout:0.0001

Current Block18926
Difference:1
Payout:0.0001

Current Block18927
Difference:1
Payout:0.0001

Current Block18928
Difference:1
Payout:0.0001

Current Block18929
Difference:1
Payout:0.0001

Current Block18930
Difference:1
Payout:0.0001

Current Block18931
Difference:1
Payout:0.0001

Current Block18932
Difference:1
Payout:0.0001

Current Block18933
Difference:1
Payout:0.0001

Current Block18934
Difference:1
Payout:0.0001

Current Block18935
Difference:1
Payout:0.0001

Current Block18936
Difference:1
Payout:0.0001

Current Block18937
Difference:1
Payout:0.0001

As you can see it's running perfectly.

I will now perform a 30 minute run.

Should I be sending myself less than one PMC each time I do this? Can I send 0? What do you think?

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
wenwen
Sr. Member
****
Offline Offline

Activity: 728
Merit: 251


View Profile
February 01, 2014, 04:04:39 PM
 #2805

Nullu   YOU ARE TOO CLEVER Grin,THANKS FOR YOU GOOD  WORK!
kbroadfoot
Legendary
*
Offline Offline

Activity: 1302
Merit: 1000


Bass Player


View Profile
February 01, 2014, 04:05:07 PM
 #2806

Vote here to add Premine Coin to rapidballs.eu lottery site:

https://bitcointalk.org/index.php?topic=443423.0

SkillRoad
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
February 01, 2014, 04:06:02 PM
 #2807

Vote here to add Premine Coin to rapidballs.eu lottery site:

https://bitcointalk.org/index.php?topic=443423.0

- BitCoin
 - WorldCoin
 - PrimeCoin
 - DevCoin
 - LottoCoin
 - DogeCoin
Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 04:06:17 PM
 #2808

Nullu   YOU ARE TOO CLEVER Grin,THANKS FOR YOU GOOD  WORK!

Thank you.  Smiley

Lets wait and see if it reduces the tx fees when the blockchain speeds up again though.  Cheesy

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 04:07:46 PM
 #2809

Remember that gambling sites, on the whole, suck up coins. I don't know if they'll actually increase distribution or further centralise it. Although I guess if the owners of the site sell the coins they make, then that would be a form of distribution..

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
elrapido80
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
February 01, 2014, 04:08:53 PM
 #2810

As you can see it's running perfectly.

I will now perform a 30 minute run.

Should I be sending myself less than one PMC each time I do this? Can I send 0? What do you think?
I've been told the minimum tx amount for PMC is 0.0000546 but I haven't tested to see if that's true. Be careful though, I've broken wallet.dat files of other coins before by sending too small amounts in a tx.
Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 04:14:35 PM
 #2811

As you can see it's running perfectly.

I will now perform a 30 minute run.

Should I be sending myself less than one PMC each time I do this? Can I send 0? What do you think?
I've been told the minimum tx amount for PMC is 0.0000546 but I haven't tested to see if that's true. Be careful though, I've broken wallet.dat files of other coins before by sending too small amounts in a tx.

Thanks for the warning. Maybe I should take some precautions and make sure the amount does not go below that, until I can store the majority of my coins elsewhere.

Couldn't I create a new wallet.dat, swap this one out, and send myself coins to an address in that wallet.dat? I can store the rest in there for safety.

Or I could have the main script run on a different server, and periodically top it up using a script on this machine. That would be quite safe. Infact I could go one better and give you all the donation address.

If anyone wants to top up the blockrewarder, you can just send a payout to the account.  Smiley

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
creditcoin_CRD (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
February 01, 2014, 04:18:11 PM
 #2812

It seems to be working fine. It's just that the tx fees don't always necessarily end up in the next block, so there's a slight chance you'll get double or even triple rewards, but I can easily avoid that by upping the time between payouts to balance it out. It's not really such a bad thing anyway. Call it an unintended payout bonus.  Smiley

The blockchain isn't move fast enough to see if it will divide the payout when it speeds up, but with this current payout size I can leave it running for a few hours.

Quick sample of my last 3 minute run;

Quote
Current Block18924
Difference:1
Payout:0.0001

Current Block18925
Difference:1
Payout:0.0001

Current Block18926
Difference:1
Payout:0.0001

Current Block18927
Difference:1
Payout:0.0001

Current Block18928
Difference:1
Payout:0.0001

Current Block18929
Difference:1
Payout:0.0001

Current Block18930
Difference:1
Payout:0.0001

Current Block18931
Difference:1
Payout:0.0001

Current Block18932
Difference:1
Payout:0.0001

Current Block18933
Difference:1
Payout:0.0001

Current Block18934
Difference:1
Payout:0.0001

Current Block18935
Difference:1
Payout:0.0001

Current Block18936
Difference:1
Payout:0.0001

Current Block18937
Difference:1
Payout:0.0001

As you can see it's running perfectly.

I will now perform a 30 minute run.

Should I be sending myself less than one PMC each time I do this? Can I send 0? What do you think?


Mine ran out of money overnight, but I've refilled it. It seems to work good, but runs into slight snags when the blocks are coming too fast.

elrapido80
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
February 01, 2014, 04:23:52 PM
 #2813

As you can see it's running perfectly.

I will now perform a 30 minute run.

Should I be sending myself less than one PMC each time I do this? Can I send 0? What do you think?
I've been told the minimum tx amount for PMC is 0.0000546 but I haven't tested to see if that's true. Be careful though, I've broken wallet.dat files of other coins before by sending too small amounts in a tx.

Thanks for the warning. Maybe I should take some precautions and make sure the amount does not go below that, until I can store the majority of my coins elsewhere.

Couldn't I create a new wallet.dat, swap this one out, and send myself coins to an address in that wallet.dat? I can store the rest in there for safety.

Or I could have the main script run on a different server, and periodically top it up using a script on this machine. That would be quite safe. Infact I could go one better and give you all the donation address.

If anyone wants to top up the blockrewarder, you can just send a payout to the account.  Smiley

Separate wallet.dat is the only way to go if you don't want to lose all your coins due to it breaking yeh. I still think you should leave your script off for now though, I'm sure it's still one guy getting all these rewards now.
Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 04:27:54 PM
 #2814

I'll have to see if I run into that issue, but as I use a delay between sending out payouts it should be fine.

Ok, I think this is what I'll do;

Move the script to a 24/7 server, and provide everyone with the donation address;

If the script ever exceeds 100 PMC, the remaining funds will be sent to a cold wallet address. That way, should anything go wrong, any overflow coins will be safe, and it the script needs topping up, I can send them from here to keep it running as long as possible.

I have 2k PMC to keep it running, so it's not going to run out any time soon, but if you want to help keep it running, this would be the way to do it.

I've turned off my script for now, now that I know it works. What I may do is set the minimum possible tx fee higher, and when blocks are being generated faster on the network, add it as an additional delay between sending out rewards.

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
shanent
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
February 01, 2014, 04:28:03 PM
 #2815

Or you could create virtual machine and run your scrypt with another wallet.dat on it...same thing.

Print yOur PreMineCoin CaLenDar  PMC(φ) 16z7TSgoXRTepHFT1CEBXA3j5jWVQ2uADL  BTC 1AeMvtC9nhboL7fSMkyNykW864rEQWUjQC
Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 04:29:30 PM
 #2816

Or you could create virtual machine and run your scrypt with another wallet.dat on it...same thing.

I have no idea how to do that.  Grin

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
creditcoin_CRD (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
February 01, 2014, 04:31:45 PM
 #2817



In the next wallet update I have added low POW blocks, so if the difficulty gets run through the roof because of this sudden influx of hashes, it will not stay stuck long. I should have included it in this past update, but it wasn't ready.

Nullu
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
February 01, 2014, 04:33:05 PM
 #2818

Ok, I've changed the script rules;

The faster blocks generate, the less tx fee reward you recieve. Max is,  0.00010000, Minimum is 0.00001000 ;

If the block chain speeds up significantly, then the script will also slow down its payout rate.

Payout rate is 2 seconds + amount of blocks generated since last payout. Any significant increase in blocks will decrease the payouts proportional to that rate until the block generation slows down, either by less hashpower, or a difficulty retarget by the network.

BTC - 14kYyhhWZwSJFHAjNTtyhRVSu157nE92gF
shanent
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
February 01, 2014, 04:34:49 PM
 #2819

BTW which is the current hashrate of the network ?


Print yOur PreMineCoin CaLenDar  PMC(φ) 16z7TSgoXRTepHFT1CEBXA3j5jWVQ2uADL  BTC 1AeMvtC9nhboL7fSMkyNykW864rEQWUjQC
creditcoin_CRD (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
February 01, 2014, 05:14:26 PM
 #2820

I'm in the process of renting some rigs to help with this current problem.  Smiley With a little luck they will all be running shortly.

Pages: « 1 ... 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 [141] 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 ... 411 »
  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!