Author

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

sr. member
Activity: 490
Merit: 250
Code:
TRUE	2014-02-10T21:27:11	Payment to yourself			-0.04000008
TRUE 2014-02-10T21:26:24 Payment to yourself -0.04000004
TRUE 2014-02-10T21:25:46 Payment to yourself -1
TRUE 2014-02-10T21:25:42 Payment to yourself -1
TRUE 2014-02-10T21:25:17 Payment to yourself -1
TRUE 2014-02-10T21:24:44 Payment to yourself -0.04000004
TRUE 2014-02-10T21:24:34 Payment to yourself -1
TRUE 2014-02-10T21:23:40 Payment to yourself -0.02000002
TRUE 2014-02-10T21:23:28 Payment to yourself -1
TRUE 2014-02-10T21:22:10 Payment to yourself -0.02000002
TRUE 2014-02-10T21:21:14 Payment to yourself -1
TRUE 2014-02-10T21:19:13 Payment to yourself -0.02000002
TRUE 2014-02-10T21:18:30 Payment to yourself -1
TRUE 2014-02-10T21:18:18 Payment to yourself -1
TRUE 2014-02-10T21:17:59 Payment to yourself -1
TRUE 2014-02-10T21:17:01 Payment to yourself -1
TRUE 2014-02-10T21:16:43 Payment to yourself -0.02000002
TRUE 2014-02-10T21:16:06 Payment to yourself -1
TRUE 2014-02-10T21:15:59 Payment to yourself -0.01000001
TRUE 2014-02-10T21:15:22 Payment to yourself -1
TRUE 2014-02-10T21:12:56 Payment to yourself -1
TRUE 2014-02-10T21:12:01 Payment to yourself -1
TRUE 2014-02-10T21:05:23 Payment to yourself -0.01000001
TRUE 2014-02-10T21:01:07 Payment to yourself -1
TRUE 2014-02-10T21:00:22 Payment to yourself -0.01000003
TRUE 2014-02-10T20:59:14 Payment to yourself -0.01000002
TRUE 2014-02-10T20:59:00 Payment to yourself -0.0063

I'm no statistician, but something tells me that the odds of getting 1 PMC are a little over 5%. Seems the basic random function in PHP isn't quite up to the task. Might have to increase the order of magnitude.

Oh well, some lucky miners right now at least.  Cheesy

I don't know if that is your case, but I already had some weird things with php rand. Alternnatively you may go for /dev/urandom

I think you may also use mt_rand but I think it is just faster but based on the same state as in rand


/dev/urandom http://codeascraft.com/2012/07/19/better-random-numbers-in-php-using-devurandom/
hero member
Activity: 532
Merit: 500
Code:
TRUE	2014-02-10T21:27:11	Payment to yourself			-0.04000008
TRUE 2014-02-10T21:26:24 Payment to yourself -0.04000004
TRUE 2014-02-10T21:25:46 Payment to yourself -1
TRUE 2014-02-10T21:25:42 Payment to yourself -1
TRUE 2014-02-10T21:25:17 Payment to yourself -1
TRUE 2014-02-10T21:24:44 Payment to yourself -0.04000004
TRUE 2014-02-10T21:24:34 Payment to yourself -1
TRUE 2014-02-10T21:23:40 Payment to yourself -0.02000002
TRUE 2014-02-10T21:23:28 Payment to yourself -1
TRUE 2014-02-10T21:22:10 Payment to yourself -0.02000002
TRUE 2014-02-10T21:21:14 Payment to yourself -1
TRUE 2014-02-10T21:19:13 Payment to yourself -0.02000002
TRUE 2014-02-10T21:18:30 Payment to yourself -1
TRUE 2014-02-10T21:18:18 Payment to yourself -1
TRUE 2014-02-10T21:17:59 Payment to yourself -1
TRUE 2014-02-10T21:17:01 Payment to yourself -1
TRUE 2014-02-10T21:16:43 Payment to yourself -0.02000002
TRUE 2014-02-10T21:16:06 Payment to yourself -1
TRUE 2014-02-10T21:15:59 Payment to yourself -0.01000001
TRUE 2014-02-10T21:15:22 Payment to yourself -1
TRUE 2014-02-10T21:12:56 Payment to yourself -1
TRUE 2014-02-10T21:12:01 Payment to yourself -1
TRUE 2014-02-10T21:05:23 Payment to yourself -0.01000001
TRUE 2014-02-10T21:01:07 Payment to yourself -1
TRUE 2014-02-10T21:00:22 Payment to yourself -0.01000003
TRUE 2014-02-10T20:59:14 Payment to yourself -0.01000002
TRUE 2014-02-10T20:59:00 Payment to yourself -0.0063

I'm no statistician, but something tells me that the odds of getting 1 PMC are a little over 5%. Seems the basic random function in PHP isn't quite up to the task. Might have to increase the order of magnitude.

Oh well, some lucky miners right now at least.  Cheesy
member
Activity: 70
Merit: 10
when will PMC be added on Cryptorush?
member
Activity: 112
Merit: 10
Fixed bad github repo
sr. member
Activity: 490
Merit: 250
Cryptorush.in has confirmed receipt, and PMC will be added today.



Good news, my reddit campaign goes well and now coinedup is the next hit Tongue

awesome !!
hero member
Activity: 532
Merit: 500
Block Rewarder Status: Live
full member
Activity: 196
Merit: 100
★Bitvest.io★ Play Plinko or Invest!
I had to stop working on my server to go to may *actual* job, but I'll get back to work on my pool in a few hours when I get back home Smiley
full member
Activity: 126
Merit: 100
Finally PMC is going in the very right direction Smiley
Ait
full member
Activity: 196
Merit: 100
Ooooh, new exchange - well done!  Smiley

Is this faucet dry for good?  Or is it worth popping back to check it every now and then?

http://faucet.cryptodemand.com/faucet

I sent a message to the owner, but have not yet heard anything. I will update the op and keep everybody informed.


Cool - thanks
member
Activity: 112
Merit: 10
Ooooh, new exchange - well done!  Smiley

Is this faucet dry for good?  Or is it worth popping back to check it every now and then?

http://faucet.cryptodemand.com/faucet

I sent a message to the owner, but have not yet heard anything. I will update the op and keep everybody informed.
Ait
full member
Activity: 196
Merit: 100
Ooooh, new exchange - well done!  Smiley

Is this faucet dry for good?  Or is it worth popping back to check it every now and then?

http://faucet.cryptodemand.com/faucet
hero member
Activity: 532
Merit: 500
To celebrate PMC's imminent arrival on a new exchange, the following super rewards will be made available until this round of funds runs out;

5% chance of mining 1 PMC in new blocks
0.5% chance of mining 50 PMC in new blocks


--------------

Block Rewarder Status: Live in 1 hour
Block Rewarder Pot: 130 PMC (Maximum: 150 PMC)
Time: 2 Seconds (minimum) between Payouts
Block Reward: Minimum 0.01000000, Maximum: ? ? ? (Previous Max reward: 5 PMC)
Block Rewards per block 1x, 2x, 3x
Block Explorer Payout Address: Link
Donation Address: 1CUWaAoF1pPthNqzudZBaM38LgzyeQ4JiV

SUPER BONUS: 5% CHANCE OF 1 PMC BLOCK REWARD
SUPER BONUS: 0.5% CHANCE OF 50 PMC BLOCK REWARD


Q: How does it work?

1: I use a PMC Wallet specially set up for sending out block rewards.
2: Using a script, I send myself small amounts of PMC. Every time this happens the script also determines what to set the transaction

fee as, aka the "block reward".
3: This transaction fee is then injected onto a new block on the network.
4: When a miner finds this block, he will mine that PMC
5: Due to the way transaction fees are handled sometimes several of these "rewards" can appear more than once in a single new block



I have no idea when the payouts happen as it is completely random, and once the 130 PMC is gone, it's gone!  Grin

Block rewarder will go live in: 1 hour.

Get ready for it.
member
Activity: 112
Merit: 10
When I try to build Premine from github I get this error:

Building LevelDB ...
make[1]: Entering directory `/home/john/premine/src/leveldb'
make[1]: *** No rule to make target `libleveldb.a'.  Stop.
make[1]: Leaving directory `/home/john/premine/src/leveldb'
make: *** [leveldb/libleveldb.a] Error 2

Other coins do build so something missing in the source?

Edit: Found it, libleveldb.a and libmemenv.a are missing from /src/leveldb so copied them from another coin


cd src/leveldb
make libleveldb.a libmemenv.a

then

cd src
make -f makefile.unix
member
Activity: 72
Merit: 10
Wow great job putting PMC on Cryptorush!
member
Activity: 112
Merit: 10
Cryptorush.in has confirmed receipt, and PMC will be added today.



Good news, my reddit campaign goes well and now coinedup is the next hit Tongue

Agree
member
Activity: 98
Merit: 10
Cryptorush.in has confirmed receipt, and PMC will be added today.



Good news, my reddit campaign goes well and now coinedup is the next hit Tongue
member
Activity: 112
Merit: 10
Cryptorush.in has confirmed receipt, and PMC will be added today.

hero member
Activity: 532
Merit: 500
I love the community spirit we have. So many people willing to pitch in to help each other. I don't think we'd be where we are if it wasn't for this great community.

I'm trying to figure out how to design this Lottery script, but I can't find a command that tells me the addresses I've recieved PMC from in order to add each one into the draw. If I can harvest the addresses that send PMC to the lottery, the rest will be easy. listtransactions just shows me my address. Not the address the coins came from.
There is no direct command. But there is a way. But even then it's not easy. Check your messages Smiley

I was hoping it would be straight forward. I'll see if I can work out how to do it in PHP.  Smiley
full member
Activity: 139
Merit: 100
I love the community spirit we have. So many people willing to pitch in to help each other. I don't think we'd be where we are if it wasn't for this great community.

I'm trying to figure out how to design this Lottery script, but I can't find a command that tells me the addresses I've recieved PMC from in order to add each one into the draw. If I can harvest the addresses that send PMC to the lottery, the rest will be easy. listtransactions just shows me my address. Not the address the coins came from.
There is no direct command. But there is a way. But even then it's not easy. Check your messages Smiley
hero member
Activity: 532
Merit: 500
I love the community spirit we have. So many people willing to pitch in to help each other. I don't think we'd be where we are if it wasn't for this great community.

I'm trying to figure out how to design this Lottery script, but I can't find a command that tells me the addresses I've recieved PMC from in order to add each one into the draw. If I can harvest the addresses that send PMC to the lottery, the rest will be easy. listtransactions just shows me my address. Not the address the coins came from.
Jump to: