Commit Graph

15 Commits

Author SHA1 Message Date
Miguel Freitas
30992b87c3 use scrypt hash function like litecoin 2013-11-14 00:57:51 -02:00
Miguel Freitas
4be2deab5c backup dns seed 2013-11-13 22:26:16 -02:00
Miguel Freitas
f81088be70 properly implement verification using keys that have been replaced.
the basic idea is replace txIndex key with a pair (username,height).
height = -1 for the most up-to-date key, otherwise height = last block where previous key was valid.
by checking maxHeight and iterating backwards we can easily find the key to validate data from any given block number.
2013-11-05 00:00:11 -02:00
Miguel Freitas
defb9a13a3 increase POW difficulty for user registrations 2013-10-30 18:55:13 -02:00
Miguel Freitas
56194d1eaf dns seed 2013-10-12 14:49:30 -03:00
Miguel Freitas
6e1c42e963 tx accepted! 2013-07-20 23:58:56 -03:00
Miguel Freitas
623b80c061 fix missing nHeight field 2013-07-20 16:56:02 -03:00
Miguel Freitas
6ff04a0de2 fix genesis block hash 2013-07-20 15:35:57 -03:00
Miguel Freitas
d0e83d8803 add spammessage and sign it (untested) 2013-07-17 17:11:14 -03:00
Miguel Freitas
27ee7c328b add and verify proof of work in tx. remove some old stuff. 2013-07-16 21:46:36 -03:00
Miguel Freitas
2718ee55bf make genesis block valid and disable gui 2013-07-16 01:11:02 -03:00
Miguel Freitas
9cb71491a6 adds userName to transaction 2013-07-15 21:10:28 -03:00
Miguel Freitas
73e1f33dc8 removed vin and vout from CTransaction
genesis block broken
2013-07-15 20:14:57 -03:00
Jeff Garzik
79f6925fac main.h->core.h include dependency improvements. 2013-06-24 10:41:16 -04:00
Mike Hearn
0e4b317555 Introduce a CChainParameters singleton class and regtest mode.
The new class is accessed via the Params() method and holds
most things that vary between main, test and regtest networks.
The regtest mode has two purposes, one is to run the
bitcoind/bitcoinj comparison tool which compares two separate
implementations of the Bitcoin protocol looking for divergence.

The other is that when run, you get a local node which can mine
a single block instantly, which is highly convenient for testing
apps during development as there's no need to wait 10 minutes for
a block on the testnet.
2013-06-19 16:28:52 +02:00