Author

Topic: [ANN] [PMC] Premine Coin | Rare | Mining Transaction Fee Proof of Concept - page 271. (Read 382879 times)

full member
Activity: 139
Merit: 100
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.
hero member
Activity: 532
Merit: 500
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.
full member
Activity: 139
Merit: 100
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
hero member
Activity: 532
Merit: 500
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
full member
Activity: 139
Merit: 100
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.
Looks like your script is overdoing it?

http://cryptexplorer.com/block/00000000003df3f578eed4602d693ea466dd26fc76d94f1c13224ae742b53362

Doesn't that just show the transactions being sent out? Those looks like they go to different addresses.

It shouldn't send a tx fee unless there is a new block on the network. Every time the loop runs it checks to see if there are more blocks on the network. If there are, it sends the tx fee. That's correct, isn't it? If I sent a tx fee every time a new block in on the network, it should end up in a new block? So where are there blocks with 2 or 3 of my tx fees?
Just because you send it out at certain time doesn't mean it will be in the next block, especially with these kind of block times. On average you may achieve 1 reward tx per block though.

Oh. I see. Should I make it relative to the speed blocks are being generated?

So whatever the difference between the current block and the next block every 3 seconds, say, divide the tx fee by that amount?

This will keep the script running at the same speed, but lower the tx fee proportional to the generation of new blocks.
Umm, I guess it might be fine the way it is, on average anyway. You can't control if a tx gets broadcasted to the blockfinder on time to be included or buffered so...maybe it's ok this way.

Oh yeh, you could take the block number difference yeh, that would help (didn't understand you at first).
hero member
Activity: 532
Merit: 500
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.
Looks like your script is overdoing it?

http://cryptexplorer.com/block/00000000003df3f578eed4602d693ea466dd26fc76d94f1c13224ae742b53362

Doesn't that just show the transactions being sent out? Those looks like they go to different addresses.

It shouldn't send a tx fee unless there is a new block on the network. Every time the loop runs it checks to see if there are more blocks on the network. If there are, it sends the tx fee. That's correct, isn't it? If I sent a tx fee every time a new block in on the network, it should end up in a new block? So where are there blocks with 2 or 3 of my tx fees?
Just because you send it out at certain time doesn't mean it will be in the next block, especially with these kind of block times. On average you may achieve 1 reward tx per block though.

Oh. I see. Should I make it relative to the speed blocks are being generated?

So whatever the difference between the current block and the next block is every 3 seconds, say, divide the tx fee by that amount?

So if after 3 seconds 5 blocks have been generated, divide the tx fee by 5.

This will keep the script running at the same speed, but lower the tx fee proportional to the generation of new blocks. Anyone trying to bombard the network will get less and less tx fees.
full member
Activity: 139
Merit: 100
Diff is 754 now, was 188 half an hour ago.
full member
Activity: 139
Merit: 100
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.
Looks like your script is overdoing it?

http://cryptexplorer.com/block/00000000003df3f578eed4602d693ea466dd26fc76d94f1c13224ae742b53362

Doesn't that just show the transactions being sent out? Those looks like they go to different addresses.

It shouldn't send a tx fee unless there is a new block on the network. Every time the loop runs it checks to see if there are more blocks on the network. If there are, it sends the tx fee. That's correct, isn't it? If I sent a tx fee every time a new block in on the network, it should end up in a new block? So where are there blocks with 2 or 3 of my tx fees?
Just because you send it out at certain time doesn't mean it will be in the next block, especially with these kind of block times. On average you may achieve 1 reward tx per block though.
hero member
Activity: 532
Merit: 500
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.
Looks like your script is overdoing it?

http://cryptexplorer.com/block/00000000003df3f578eed4602d693ea466dd26fc76d94f1c13224ae742b53362

Doesn't that just show the transactions being sent out? Those looks like they go to different addresses.

It shouldn't send a tx fee unless there is a new block on the network. Every time the loop runs it checks to see if there are more blocks on the network. If there are, it sends the tx fee. That's correct, isn't it? If I sent a tx fee every time a new block in on the network, it should end up in a new block? So where are there blocks with 2 or 3 of my tx fees?
member
Activity: 98
Merit: 10
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.
Looks like your script is overdoing it?

http://cryptexplorer.com/block/00000000003df3f578eed4602d693ea466dd26fc76d94f1c13224ae742b53362

Hm. What's happened there? It should only add the tx fee once for new blocks.

I'm switching off the script for now. As you say whoever is throwing hash at PMC right now shouldn't get this PMC.

For me you don't hit those blocks with your tx fees and these are other fees from transactions
hero member
Activity: 532
Merit: 500
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.
Looks like your script is overdoing it?

http://cryptexplorer.com/block/00000000003df3f578eed4602d693ea466dd26fc76d94f1c13224ae742b53362

Hm. What's happened there? It should only add the tx fee once for new blocks.

I'm switching off the script for now. As you say whoever is throwing hash at PMC right now shouldn't get this PMC.
full member
Activity: 139
Merit: 100
Well I'm adding 0.00012345 to a block every 2 seconds. I'm not going to add one to every block at this rate. I'm certainly not setting it per block for the moment.

I may even lower the payout time. Hopefully that gives other miners a chance to get the tx fees.
Every two seconds? Activating it now just feeds whoever is throwing all these hashes at PMC.
member
Activity: 98
Merit: 10
Well I'm adding 0.00012345 to a block every 2 seconds. I'm not going to add one to every block at this rate. I'm certainly not setting it per block for the moment.

I may even lower the payout time. Hopefully that gives other miners a chance to get the tx fees.
Yeah in fact there are many block with 0 tx fees...
hero member
Activity: 532
Merit: 500
Well I'm adding 0.00012345 to a block every 2 seconds. I'm not going to add one to every block at this rate. I'm certainly not setting it per block for the moment.

I may even lower the payout time. Hopefully that gives other miners a chance to get the tx fees.
full member
Activity: 139
Merit: 100
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.
Looks like your script is overdoing it?

http://cryptexplorer.com/block/00000000003df3f578eed4602d693ea466dd26fc76d94f1c13224ae742b53362
member
Activity: 98
Merit: 10
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.

I'm seeing it 1ApzoCjX1YeRCsmaygs3RwDt9GvdNYVWe4
sr. member
Activity: 294
Merit: 250

The blocks are moving quite fast..

What's going on?

There's no point me running my script until this is confirmed or not.

Probably a lot of hashing power thrown at us, let's see how this will affect the difficulty.
hero member
Activity: 532
Merit: 500
Ok, my script is functional now, but I don't feel safe running it for long if there is a problem.

You should see transactions on the blockchain now. I'm sending 1 PMC to myself, and sending 0.00012345 tx fees. However if the blockchain continues moving this fast I will have to stop it. I'm not setting it to 0.001 until I know what's going on.

I've put 500 PMC into the blockrewarder account. Happy mining.
hero member
Activity: 532
Merit: 500

The blocks are moving quite fast..

What's going on?

There's no point me running my script until this is confirmed or not.
Jump to: