Author

Topic: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency - page 128. (Read 688812 times)

sr. member
Activity: 280
Merit: 250
Was tired of trying to add immature blocks up so heres some dirty bash too get it done, I'm sure someone has a much better solution.
Code:
echo `./primecoind listtransactions "" 1000 | grep -A1 category | grep -A1 'immature\|generate' | grep amount | awk -F" " '{print $3}' | awk -F, '{printf "%s +",$1}'` 0 | bc

Edit: this doesn't account for sent.

If I'm not mistaken, the balance command alone (i.e. './primecoind balance') will give you the total of only mature blocks, but if you include the account parameter (i.e. './primecoind balance ""'), it will give you the total of all blocks, both mature and immature.  All you have to do is subtract to see the immature balance alone, if I understand correctly what you are trying to do.


lol I did say some would have a better solution, never accured to me too use "" in getbalance, touche.
legendary
Activity: 1065
Merit: 1077
Was tired of trying to add immature blocks up so heres some dirty bash too get it done, I'm sure someone has a much better solution.
Code:
echo `./primecoind listtransactions "" 1000 | grep -A1 category | grep -A1 'immature\|generate' | grep amount | awk -F" " '{print $3}' | awk -F, '{printf "%s +",$1}'` 0 | bc

Edit: this doesn't account for sent.

If I'm not mistaken, the balance command alone (i.e. './primecoind balance') will give you the total of only mature blocks, but if you include the account parameter (i.e. './primecoind balance ""'), it will give you the total of all blocks, both mature and immature.  All you have to do is subtract to see the immature balance alone, if I understand correctly what you are trying to do.

hero member
Activity: 516
Merit: 500
CAT.EX Exchange

After importing the privatekeys, I see the blocks still show in the original wallet. I guess both wallets think they own the blocks. So.. if I spend some of the coins in the block involved, do both wallets register the transaction?

If I find this confusing, how do I make the original wallet to forget the moved block (but not all the blocks) ? I looked it up but didn't find answer. Thanks.

If you spend some of the coins in the block, the other wallet might see the tx on the blockchain, it might not. If you try to spend from both wallets, one tx will make it into a block, the other won't. You can't delete private keys from a wallet, so you can't make it forget the block you moved.

Oh well. Guess I will have to delete the old wallet and make a new wallet after moving away all the blocks from the old one.
sr. member
Activity: 280
Merit: 250
Was tired of trying to add immature blocks up so heres some dirty bash too get it done, I'm sure someone has a much better solution.
Code:
echo `./primecoind listtransactions "" 1000 | grep -A1 category | grep -A1 'immature\|generate' | grep amount | awk -F" " '{print $3}' | awk -F, '{printf "%s +",$1}'` 0 | bc

Edit: this doesn't account for sent.
full member
Activity: 165
Merit: 100
Just mining my own business...
1 block now less than 17 XPM. I miss the days when it was over 20

Ah, yes - the good old days when men were men and wrote their own Primecoin clients in binary on punch cards. Kids these days with their newfangled compilers and all... pfft. Now get off my lawn!

Those were the days! I kept my wallet on paper tape and used my trusty KSR-33 for updating it...
sr. member
Activity: 520
Merit: 253
555
1 block now less than 17 XPM. I miss the days when it was over 20

Ah, yes - the good old days when men were men and wrote their own Primecoin clients in binary on punch cards. Kids these days with their newfangled compilers and all... pfft. Now get off my lawn!
hero member
Activity: 820
Merit: 1000
Price is jumping, I think this coin could be interesting.
Personaly, I think it's undervalued. only time will tell
It sure is.
Regretting selling my first 200 coins now!  This really is going to be a good coin and worth a good deal more than its current price.  I might even buy mine back Smiley
legendary
Activity: 2674
Merit: 2965
Terminated.
Price is jumping, I think this coin could be interesting.
Personaly, I think it's undervalued. only time will tell
It sure is.
member
Activity: 81
Merit: 1002
It was only the wind.
It's a smart idea, but mathematically, Primecoin is on a race to the bottom, so I have to play a little Game Theory.

$40 for just typing setgenerate true 3 days ago is clearly unsustainable, sooo http://www.youtube.com/watch?v=HX0fIi3H-es

Of course. But think about this: the harder they get to generate, the more they may be worth. So price may go UP, not down.

I'm with Wolf0 on this one, anyone 'dumping' their XPM now because they think the price is going to drop is not understanding the exponential difficulty increases that lye ahead for primecoin.


or they merely understand what lack of liquidity does to a market.

Actually, there's plenty of liquidity now.
sr. member
Activity: 280
Merit: 250
Price is jumping, I think this coin could be interesting.
Personaly, I think it's undervalued. only time will tell
member
Activity: 84
Merit: 10
How can we mine this cpu or gpu? is there a windows-qt? link?
Everything you asked is in the first post of the thread.
legendary
Activity: 1148
Merit: 1000
How can we mine this cpu or gpu? is there a windows-qt? link?
sr. member
Activity: 266
Merit: 251
Price is jumping, I think this coin could be interesting.
legendary
Activity: 2674
Merit: 2965
Terminated.
full member
Activity: 126
Merit: 100
full member
Activity: 126
Merit: 100

Is my browser broken or is there No bid, No ask, no trading in the past for XPM/BTC?

Is your browser...  Undecided

lol that's funny, stupid MSIE don't show it  Huh, chrome does

It's a crap exchange what do you expect.
full member
Activity: 182
Merit: 100

Is my browser broken or is there No bid, No ask, no trading in the past for XPM/BTC?

Is your browser...  Undecided

lol that's funny, stupid MSIE don't show it  Huh, chrome does
full member
Activity: 126
Merit: 100

Only coins-e ? lol that exchange is awful. I'll wait until btc-e or someone carries it I guess.
member
Activity: 81
Merit: 1002
It was only the wind.
Another thing, how to restart the daemon?

Use "primecoind stop" to kill it.
legendary
Activity: 1246
Merit: 1011

Is my browser broken or is there No bid, No ask, no trading in the past for XPM/BTC?

Is your browser...  Undecided
Jump to: