Bitcoin Forum

Other => Beginners & Help => Topic started by: dingoKoin on January 06, 2014, 12:02:47 AM



Title: Mining my own coin alone! Balance question.
Post by: dingoKoin on January 06, 2014, 12:02:47 AM
Hi,

I created my own coin and I'm playing around with it.
I managed to follow a tutorial and get my miner running and generating blocks with two machines.

*But* the coins aren't showing up when i type the command:  mycoind getbalance "" 0

Are the coins not showing because I'm mining all by myself and nobody is confirming them?
Or is there another reason why I'm not seeing my coins?

Thanks for your help!


Title: Re: Mining my own coin alone! Balance question.
Post by: thegouger on January 06, 2014, 01:07:59 AM
Chances are that the nSubsidy is set to 0 until a certain amount of blocks have been mined. If you forked smallchange, take a look at line 834 :in main.cpp
Code:
if(nHeight < x) // no block reward for the first x blocks
        nSubsidy = 0;


Title: Re: Mining my own coin alone! Balance question.
Post by: dingoKoin on January 06, 2014, 12:55:48 PM
Chances are that the nSubsidy is set to 0 until a certain amount of blocks have been mined. If you forked smallchange, take a look at line 834 :in main.cpp
Code:
if(nHeight < x) // no block reward for the first x blocks
        nSubsidy = 0;

Thanks for your reply.

No, there doesn't seem to be a similar condition in the code taken from CryptoShekel...


Title: Re: Mining my own coin alone! Balance question.
Post by: guybrushthreepwood on January 06, 2014, 01:04:17 PM
Hi,

I created my own coin and I'm playing around with it.
I managed to follow a tutorial and get my miner running and generating blocks with two machines.

*But* the coins aren't showing up when i type the command:  mycoind getbalance "" 0

Are the coins not showing because I'm mining all by myself and nobody is confirming them?
Or is there another reason why I'm not seeing my coins?

Thanks for your help!

lol, you pre-mining there, buddy?


Title: Re: Mining my own coin alone! Balance question.
Post by: dingoKoin on January 06, 2014, 02:10:55 PM
nah, friend, just testing  8)


Title: Re: Mining my own coin alone! Balance question.
Post by: guybrushthreepwood on January 06, 2014, 02:53:02 PM
nah, friend, just testing  8)

Well make sure it is just that or the alt coin police will be on to you lol.


Title: Re: Mining my own coin alone! Balance question.
Post by: MakeBelieve on January 06, 2014, 02:58:30 PM
The coin won't be valuable if you are alt mining and no one will be interested in it btw.


Title: Re: Mining my own coin alone! Balance question.
Post by: dingoKoin on January 06, 2014, 03:01:02 PM
geez, guys. the question is purely technical. sure i'm premining but it's a dummy coin. i'm just trying to learn how it works.


Title: Re: Mining my own coin alone! Balance question.
Post by: R0yalAir on January 06, 2014, 08:39:25 PM
It's quite a difficult situation and that depends on a lot of factors.