Search content
Sort by

Showing 20 of 112 results by bitcoinreactor
Post
Topic
Board Altcoin Discussion
Re: Are BTC and TRC public and private keys interchangeable?
by
bitcoinreactor
on 23/06/2014, 09:26:01 UTC
yes, on the terracoin client, export the WIF address so you can later import it on your btc client and get the bitcoins.

on the terracoin client :
Code:
dumpprivkey 18ALJPQ2QRYBMci3KzZimgX6w7gJPsTNDB

then on your btc client :
Code:
importprivkey [the_previous_command_output_string]
Post
Topic
Board Altcoin Discussion
Re: Why can't altcoins merge?
by
bitcoinreactor
on 21/06/2014, 18:06:16 UTC
Quote
The holders of the coin with the least value with receive an equivalent of the coin of the higher value at the time of the merger.

how would you achieve that in a "trusted", fair way ?
Post
Topic
Board Altcoin Discussion
Re: Investigation Complete of Instamines and Fastmines for almost every top alt coin
by
bitcoinreactor
on 20/06/2014, 11:07:40 UTC
found an error :

from http://www.devtome.com/doku.php?id=a_massive_investigation_of_instamines_and_fastmines_for_the_top_alt_coins#terracoin :
Quote
Terracoin
    type of algorithm: scrypt
    PoW


Terracoin (TRC) is not scrypt.
Post
Topic
Board Altcoin Discussion
Re: how should coin developers be remunerated?
by
bitcoinreactor
on 18/06/2014, 13:54:36 UTC
So as a community, what method of remuneration would you be happy with?

donations only.
Post
Topic
Board Altcoin Discussion
Re: can someone explain to me what 'received getdata (X invsz)' means in debug.log
by
bitcoinreactor
on 17/06/2014, 07:42:01 UTC
Does anyone know how this would work for a POS-only altcoin?
If getblocks and getwork have been disabled becaue it's no longer POW, what would cause the log to show that message?
I am starting to think that there may be some epic train robbery going on with some of these POS altcoin (some sort of POS exploit that is allowing the dev's to continue to mine POW blocks on POS coins)  (I suspect that this might be done via the daemon's directly ala d setgenerate true.


Is there a deep dive anywhere on how POS coins work internally?  I am referring to the actual implementation (they use cpuminer code if I am not mistaken) that they use internally to generate valid blocks.  

you did not read a single line in the above answer (from gweedo) to your question.

Quote
getdata is used in response to inv, to retrieve the content of a specific object, and is usually sent after receiving an inv packet, after filtering known elements. It can be used to retrieve transactions, (...)

we're speaking of btc p2p messages here, nothing to do with rpc commands ; p2p network should still work whatever the 'coin' use to create new blocks.

Quote
it's no longer POW, what would cause the log to show that message?
other nodes requesting ... data. ..

Quote
I am starting to think that there may be some epic train robbery going on with some of these POS altcoin (some sort of POS exploit that is allowing the dev's to continue to mine POW blocks on POS coins)  (I suspect that this might be done via the daemon's directly ala d setgenerate true.

are you seing pow blocks ?
if you know anything about pow/pos they are easy to identify.
If you don't, have a look at sourcecode to see what rules a pos block must follow to be valid

I don't know what fork we're speaking here, but i think it should clearly state (in its sourcecode) that pow blocks are invalid past a given block height / timestamp / whatever, if it's a pos only fork.
AcceptBlock() and/or CheckBlock() should refuse pow blocks past the switch point.
Post
Topic
Board Mining (Altcoins)
Re: [trc] [p2pool] public TRC p2pool 0fee - now 1%fee donations to terracoin
by
bitcoinreactor
on 16/06/2014, 08:30:57 UTC
some of you probably already noticed, this p2pool node was updated during the night with the latest changes pushed by terracoin.

Let's hope this is the last update before it gets into p2pool main repos! i'll keep an eye on it and watch pool stats.
Post
Topic
Board Altcoin Discussion
Re: [POLL] Anonymous coins ?
by
bitcoinreactor
on 15/06/2014, 00:56:28 UTC
Really was there some huge crowd of people saying there was a huge problem with Bitcoins privacy
and that someone had to do something about this problem asap ?

bitcoin provides no privacy/anonymity at all.

I wouldn't trust another kiddie-forked btc clone for providing it either though.

If you're concerned about anonymity/privacy, you already use a few well-known tools to provide some more layers, some of them being fully supported by btc (or the other way around, according to the tool)

so .. my answer to
Quote
Anonymous coins just a useless gimmick ?
is also "YES" Smiley
Post
Topic
Board Altcoin Discussion
Re: Alternative to hiding away the wallet until launch using signed genesis block?
by
bitcoinreactor
on 15/06/2014, 00:46:38 UTC
i guess you could rely on another established blockchain as a datasource :

we could imagine that:

1.  your wallet/client would regularly query some bitcoin nodes (randomly choosen in included hardcoded list of dozens/hundreds of existing btc nodes), waiting for a given block height to be mined by the BTC network (with X confirmations),

2. explicitely (original code from your wallet sourcecode, since it was first released) use some properties of that future btc block (let's say nNonce & nTime) as your own genesis block properties ; also explicitely for N btc confirmations for that block, to prevent accidental use of a temporary btc forked chain.

This way, everyone should use the exact same genesis data. One would have to mine it thought, this could imply some major modifications to the client, so it allows genesis block generation (meaning full startup with no block loaded, and so on)

This would require some basic extra connectivity (btc p2p) to query other btc nodes, but yeah .. that could be "fun" somehow
Again .. you'll soon have to release another version of your client, hardcoding choosen genesis block data.

This looks extremely dangerous thought .. if you really release your client long enough before genesis block gets choosen/created, malicious users would have enough time to fake the whole thing, mining their own chain at low diff, later making that blockchain the longest one .. with no hardcoded genesis block, many nasty things could be possible then

Again, this would negate your own user's confidence in your coin, right from the start i guess
Post
Topic
Board Altcoin Discussion
Re: Alternative to hiding away the wallet until launch using signed genesis block?
by
bitcoinreactor
on 15/06/2014, 00:39:32 UTC
there's probably a clever way to do that, so it does not rely on a network message from you to decrypt the genesis block data on a given time / event / whatever, but .. can't find one right now.

But again, hitting the users trust limit is not that far, i guess
Post
Topic
Board Altcoin Discussion
Re: Alternative to hiding away the wallet until launch using signed genesis block?
by
bitcoinreactor
on 15/06/2014, 00:30:45 UTC
Being frustrated with launch delays recently, I was wondering about the effectiveness of keeping wallets secret via a password or waiting to release it, and how ineffective that's proven.

I was wondering if it is technically reasonable to provide a wallet immediately, with the hash (exact) of the genesis block (or an ECDSA pubkey that must sign the genesis block), so the actual mining operations cannot start until after that block is released. Obviously, a bunch of users could modify the wallet of FooCoin to accept a different genesis block (released earlier), though then one can't really call that coin FooCoin.

Can someone clarify if this is doable, or why not?

i think i understand what you mean : you want to be able to widely distribute a client sourcecode and/or binaries, without granting anyone the ability to mine on that blockchain until _you_ decide it's ready ?

I guess you could then make that client "wait" for some signed message from you, including the genesis data.
(the client would include your public key so it can verify your signature).

But then ... another "problem" appears : what would eventually prevent you from later messing around with the genesis block, eventually changing it, invalidating it or whatever ?

A solution to this could be another client release, hardcoding the previously broadcasted genesis data, but then .... you'll force your users to download your client again, making the whole thing useless Smiley

early BTC users joined the bitcoin utopia because they could trust the client for behaving exactly as stated in its sourcecode ; includign above magic into a new client would .. go against that
Post
Topic
Board Altcoin Discussion
Re: How to make your own altcoin?
by
bitcoinreactor
on 14/06/2014, 18:40:10 UTC
I have been searching this site, google, and some other sites, for 3 hours now. I can't find a simple tutorial on how to make my own cryptocoin, aka clone bitcoin or litecoin or something like that. Please, can someone give me a link to a full manual, step by step, or write it in a forum post? I know that people say that we have enough altcoins already, but I just really want to see how it is even possible to make one.

first thing : understand bitcoin, what it is and how it works (meaning : read and understand at least 80% of the core core - skip script details til you are more familiar with them).

then ... well ... if you understood what you read, you don't need a 'fork bitcoin for dummies' guide anymore
Post
Topic
Board Altcoin Discussion
Re: Need help creating Genesis Block (linux, Debian)
by
bitcoinreactor
on 14/06/2014, 10:24:33 UTC
Jesus fck, I'm only 14. I never even said I was going to release this coin, take it easy. Seriously though, you have to start somewhere, right?

starting with something as "big" as bitcoin in terms of understandings it requires may be a bit overwhelming, anyway, here are a few things:

i just had a look at your 'create an altcoin howto' page, i don't really like the way they 'explain' how to create the genesis block.

Personally, i generate mine using the following procedure :

this is, supposing you already understood and set the network parameters.

1. choose the proofofworklimit i want for my network (>> 24 for tests for example) chainparams.cpp : bnProofOfWorkLimit per network

2. set those accordiningly:
genesis.nTime = something close to current time, just for information purpose
genesis.nBits = accordiningly to your bnProofOfWorkLimit
genesis.nNonce = 0; // start with zero onfirst run (or whatever)

eventually properly set the coinbase output (you'll have to know how to generate public keys)

3. right before assertion on hash & merkle, add something like this:
Code:
uint256 hashTarget = uint256().SetCompact(genesis.nBits);
while (genesis.GetHash() > hashTarget) {
    ++genesis.nNonce;
    if (genesis.nNonce == 0) { ++genesis.nTime; }
}

// log your full genesis block (ntime, nonce, hash & tx merkle root)

hashGenesisBlock = genesis.GetHash();
assert(hashGenesisBlock == uint256(.....
assert(genes.....

4. build and run for the first time. this will take some time, according to your proofofwork limit & nbits (you're actually 'mining' the genesis block right now), then have a look at the logs _you_ generated ; copy genesis block data (ntime, nNonce, merkle & hash) to your sourcecode.

5. disable code added in step 3, rebuild, voila ....

This way, you really have valid data starting with your genesis block. Many altcoins have genesis blocks that already violates their own rules ...

Note that you'll have to log your genesis block data by yourself, as no logging is initialized at that point.




Last thing (yeah, i know this gets boring, but it's the only way you'll end up _really_ learning anything) : try things, LOG things, do not ask for copy/paste answers as soon as a problem comes in, logging is the key, when facing serious problems that you couldn't solve by intense logging/debugging i bet you'll get quite some serious answers to .. your serious questions Smiley
Post
Topic
Board Altcoin Discussion
Re: Need help creating Genesis Block (linux, Debian)
by
bitcoinreactor
on 14/06/2014, 08:18:26 UTC
kyle, this is really embarassing. if u cant figure this out u should really really not be making another mindless blackcoin clone. plz man think about it.

ouch.

i second this ... every day you get that kind of request ...

if you just can't figure out how to generate the fcking genesis block ... for god's sake .. wipe out your repository right now !
Post
Topic
Board Altcoin Discussion
Re: Genesis block not accepted
by
bitcoinreactor
on 14/06/2014, 07:49:49 UTC
again ... if you couldn't find that out by yourself, please ... stop trying and do not release another fork !
Post
Topic
Board Altcoin Discussion
Re: Genesis block not accepted
by
bitcoinreactor
on 14/06/2014, 07:45:48 UTC
Just in case someone would ask something like this (see below), here is what i would answer, hopefully helping other people :

But ... again ... if you can't find this out ... building, maintaining and releasing another fork just may not be a thing for you to do !

Quote
Hi , below is the kernel.cpp  code , can you help me check , and how to update and create genesis block , thanks

below is the kernel.cpp  code

Code:
unsigned int nModifierInterval = MODIFIER_INTERVAL;

// Hard checkpoints of stake modifiers to ensure they are deterministic
static std::map mapStakeModifierCheckpoints =
    boost::assign::map_list_of
    (     0, 0xfd11f4e7u )
;


so .. here's what i'd answer :

just .... log it damnit Smiley

find the line that outputs this log entry and ... just log the stake modifier checksum!
Quote
ERROR: AddToBlockIndex() : Rejected by stake modifier checkpoint height=0, modifier=0x0000000000000000


If you can't find that out either (ooooo ... this coin's gonna be SOMETHING) :
Quote
if (!CheckStakeModifierCheckpoints(pindexNew->nHeight, pindexNew->nStakeModifierChecksum))
        return error("AddToBlockIndex() : Rejected by stake modifier checkpoint height=%d, modifier=0x%016"PRI64x" pindexNew->nStakeModifierChecksum=0x%08"PRI64x, pindexNew->nHeight, nStakeModifier, pindexNew->nStakeModifierChecksum);
Post
Topic
Board Altcoin Discussion
Re: Genesis block not accepted
by
bitcoinreactor
on 13/06/2014, 16:43:58 UTC
Now , i meet one issue , after i twice compile wallet ,  i can't create genesis blcok ,   how to fix it ,  need help !!!




below is debug.log

Code:
Bound to [::]:23446
Bound to 0.0.0.0:23446
Loading block index...
CBlock(hash=4398bf41575e641c78eccc4d50bc99b7f2165fc23402b4e614d8255e28814f15, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=ac989e21f322658b30daf9934753f1c1f0650000f844add87bc4332fd548d373, nTime=1402659000, nBits=1e0fffff, nNonce=1373666, vtx=1, vchBlockSig=)
  Coinbase(hash=ac989e21f3, nTime=1402659000, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 04ffff001d020f270431332f36)
    CTxOut(empty)
  vMerkleTree: ac989e21f3
block.GetHash() == 4398bf41575e641c78eccc4d50bc99b7f2165fc23402b4e614d8255e28814f15
block.hashMerkleRoot == ac989e21f322658b30daf9934753f1c1f0650000f844add87bc4332fd548d373
block.nTime = 1402659000
block.nNonce = 1373666
ERROR: AddToBlockIndex() : Rejected by stake modifier checkpoint height=0, modifier=0x0000000000000000
ERROR: LoadBlockIndex() : genesis block not accepted
EnvShutdown exception: Invalid argument (22)

kernel.cpp is the answer Smiley
hardcoded list of stake modifiers checksum there Smiley
Post
Topic
Board Altcoin Discussion
Re: Do i need open wallet to get pos?
by
bitcoinreactor
on 13/06/2014, 12:01:32 UTC
as FlyForFun said, there's no need to run your client 24/7 unless you have coins ready for stake minting.

check your ppc fork PoS rules (STAKE_MIN_AGE and STAKE_MAX_AGE) :

If none of your coins are older than STAKE_MIN_AGE then you have nothing to mint.
If some of your coins are older than STAKE_MAX_AGE then they are ready for full pos minting.

To get "ready for minting", your coins must not move for STAKE_MIN_AGE seconds (30 days for PPC).

Hold them for a month (or 3 months for full pos minting) then keep your client running until you find a pos block.

If you want the client to automatically keep a given amount of coins ready for minting, while still using the currency, have a look at the 'reservebalance' option (RPC / cli)
Post
Topic
Board Altcoin Discussion
Re: Do i need open wallet to get pos?
by
bitcoinreactor
on 13/06/2014, 11:11:10 UTC
 i remember blackcoin must need open wallet...

so i want to ask if XC,CRY these coins need open wallet or not?

thanks.
Best

anyone know the answer?

If these are peercoin forks, then the answer is YES :

the BitcoinMiner() method takes an extra argument, when compared to the original btc implementation : bool fProofOfStake which is set to true when the proof-of-stake mining thread is spawned, on wallet startup.

when this fProofOfStake is true, the BitcoinMiner thread will :

 - check wallet isnt locked (if it is, display a warning and wait 1 second before re-checking)
 - check we are connected to some peers, if not wait 1 second and retry
 - create a new block following the PoS rules
 - then cycle this : increment the extranonce (bignum in coinbase input script), test it to see if we just found a valid PoS block. then wait 500ms before retrying

In a few words : this is a shorter/simple version of BitcoinMiner, with 2 extranonce tests per second, plus the PoS rules checks.

So yes, that BitcoinMiner(pwallet, true) has to be running for you to actually create a PoS block.

Because of the 500ms delay involved, it can take quite some time before you mint a pos block.
that delay allows the client to be running in the background with a barely noticeable cpu usage impact / energy consumption, while still constantly hashing block headers, looking for a valid PoS block.

Running multiple copies of the same wallet may help a bit, by increasing your "chances" of finding a PoS block (you'll hash twice as much pos blocks per second with two clients running on the same wallet). Because of the different ReserveKey(s) then used, block header should differ, actually increasing the chances you have to mint a valid PoS block.
Reducing that 500ms sleep delay could also help, but then the cpu usage impact would grow significantly, going against ppc original low energy consumption goal.
Post
Topic
Board Altcoin Discussion
Re: [ Q ] E-pool.net P2Pool - Question for the community
by
bitcoinreactor
on 11/06/2014, 15:50:50 UTC
feel free to upgrade your terracoin p2pool node Smiley

i updated mine a few days ago, using instructions from http://terracoin.org/2014/06/06/new_p2pool_settings_released.html but i feel quite alone there at the moment Sad

from the miner point of view, those new parameters looks slightly better though, especially once the total pool hashrate stabilized
At least miners have some more time to work between job restart requests Smiley
Post
Topic
Board Altcoin Discussion
Re: Is BTC-E going to delist Terracoin?
by
bitcoinreactor
on 08/06/2014, 20:07:51 UTC
when they announced they were delisting TRC (end november/december 2013) the trc price achieved its all time record, reaching USD 1.3 per TRC (BTC was traded at 1 kUSD at that time) and volumes went crazy, so were btc-e profits then i guess.

As someone said above, keeping it live should not cost them that much, 2 to 8 BTC volume per day still grants them some daily incomes ; time will tell, but TRC is still quite young - 1.5 to 2 years i think