ppcd init
Squashed commit of the following:

commit 8fe0ca2fdaa445920cb10bf9c5caca070a736ce7
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 14 19:11:20 2014 +0200

    ChainTrust management

commit b65875c76cfb4cfe45be8c7e25131e23ac336b97
Merge: 149ba4e 6514fff
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 14 13:08:45 2014 +0200

    Merge branch 'topic/movemeta' of https://github.com/mably/btcchain into mably

commit 6514fff526114674a19e8b97d7e533c4b601d1ad
Author: kac- <6b6163@gmail.com>
Date:   Sun Sep 14 12:57:36 2014 +0200

    kernel.go: GetKernelStakeModifier: Fetch headers instead of blocks

commit 149ba4ef82081136b4fc92d6f0306f8d7ed9fbbe
Merge: a20f929 2c6b607
Author: François <f.mably@gmail.com>
Date:   Sun Sep 14 12:39:15 2014 +0200

    Merge pull request #2 from mably/topic/movemeta

    meta before block

commit 2c6b607d15e80a5bee2e74328e770a32b76d9df3
Author: kac- <6b6163@gmail.com>
Date:   Sun Sep 14 12:08:12 2014 +0200

    meta before block

commit a20f929f53d015602e1dfc76261540e54cc06842
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 14 00:51:05 2014 +0200

    Removed debug code

commit fe6147f82b1fcdd1a722128f06c011fee1585c92
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 14 00:24:57 2014 +0200

    Log fix

commit 59fa29805132f8e1c764e37a9bf269d5e335a3ef
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 14 00:05:00 2014 +0200

    Fixed a V0.3 compatibility bug

commit 199026348b145bdc79c2b30dc153f18ddbc61479
Author: mably <f.mably@gmail.com>
Date:   Sat Sep 13 20:55:02 2014 +0200

    genesis meta fix

commit 9f00c3fbd7b4c11eee45150f2e64bcd80f302e6d
Author: mably <f.mably@gmail.com>
Date:   Sat Sep 13 19:16:28 2014 +0200

    Disabled some btc checkpoint validadion

commit 6622755c239e0d9aa05aadb312fdd59ff704e5fa
Author: mably <f.mably@gmail.com>
Date:   Sat Sep 13 18:26:36 2014 +0200

    StakeModifier checksum fixes

commit 9198715318dd1fe84fecc4d37b41f8a7a197d71d
Author: mably <f.mably@gmail.com>
Date:   Sat Sep 13 17:33:26 2014 +0200

    ComputeStakeModifier fix implementing BigToShaHash utility method

commit 0396905d7b8f83abd8e43873d9e90f971bad2227
Author: mably <f.mably@gmail.com>
Date:   Sat Sep 13 15:48:12 2014 +0200

    Various fixes

commit 69514cb77f8ad6860a2d37fb3d40ea8614e9e0ff
Author: mably <mably>
Date:   Fri Sep 12 15:17:21 2014 +0200

    CoinStake transaction check

commit 3a654dc7a6d9c785a2adab4145c2634d7fcccc44
Author: mably <mably>
Date:   Fri Sep 12 15:16:52 2014 +0200

    Set PoS flags for meta after PoS check

commit 3c5029bd1a4bcb1719a86ec9ce530053871a808f
Author: mably <mably>
Date:   Fri Sep 12 15:16:02 2014 +0200

    Process a maximum number of blocks

commit dc3f451ebd783b43647dbd6440ffeb0b785b2f4e
Author: mably <mably>
Date:   Fri Sep 12 15:15:21 2014 +0200

    ppcCalcNextRequiredDifficulty method fixes.  It works now!

commit 87b3bbb5e7bbf1ef5fdffe0b47caba332660c2b9
Author: mably <mably>
Date:   Fri Sep 12 15:14:23 2014 +0200

    CheckStakeKernelHash method fixes.  It works now!

commit 8e68a57b2d57124e9cb91f497478d6f3819732ab
Author: mably <mably>
Date:   Fri Sep 12 15:12:06 2014 +0200

    CoinStake transaction check

commit 5d31f93f483da896cf58445ada180ddd04fa43c0
Author: mably <f.mably@gmail.com>
Date:   Fri Sep 12 00:31:47 2014 +0200

    PoS fixes

commit 7d77a54d3564e485df7b5b097d9a291368b108ed
Author: mably <mably>
Date:   Thu Sep 11 15:23:00 2014 +0200

    New getBlockNode method + Meta moved from btcutil to btcwire updates

commit c46d27a511e117399166df5b24054c3da7b15cd3
Author: mably <mably>
Date:   Thu Sep 11 15:20:24 2014 +0200

    Test fix

commit b70c158e69fcddd73bc8f29ae5ead0b36334339b
Author: mably <mably>
Date:   Thu Sep 11 15:19:52 2014 +0200

    Test data for PPC 1536 first blocks

commit 7003bb78322c937352dddb8519afdfbe611f15a6
Author: mably <f.mably@gmail.com>
Date:   Thu Sep 11 00:28:17 2014 +0200

    Time tracking

commit 6cbbe7bf514b5afc5d54707fca5fe46275995c76
Merge: 6db8e9b 904ac19
Author: mably <mably>
Date:   Wed Sep 10 18:37:06 2014 +0200

    Merge branch 'mably' of https://github.com/mably/btcchain

commit 6db8e9bb1ecb07f55518897f874038170fbe4dc6
Merge: a196955 2785df2
Author: mably <mably>
Date:   Wed Sep 10 13:08:46 2014 +0200

    Methods for time tracking

commit 904ac19d5ba465da9a005503e635431c1a849e6d
Merge: a196955 2785df2
Author: mably <mably>
Date:   Wed Sep 10 13:08:46 2014 +0200

    Merge branch 'mably' of https://github.com/mably/btcchain

commit a196955a6a17adae99ffdaad8f0f393b38645dd0
Author: mably <mably>
Date:   Wed Sep 10 12:50:33 2014 +0200

    Time trackers added for performance measurement

commit 2785df23acca464b1d631104d602df9116cb1e83
Author: mably <mably>
Date:   Wed Sep 10 12:50:33 2014 +0200

    Time trackers added for performance measurement

commit 7ddb70df79d153b584220bb658a992b34747829a
Merge: 76158ae 193fd11
Author: mably <f.mably@gmail.com>
Date:   Wed Sep 10 01:53:19 2014 +0200

    Merge branch 'mably' of https://github.com/mably/btcchain into mably

    Conflicts:
    	kernel.go

commit 76158ae53d8a0a0950a1f93b8453e0ed7d66b744
Author: mably <f.mably@gmail.com>
Date:   Wed Sep 10 01:33:02 2014 +0200

    Genesis block doesn't seem to be added to block nodes

commit 193fd115294e7a13374eaed65a7154636019b30f
Author: mably <f.mably@gmail.com>
Date:   Wed Sep 10 01:33:02 2014 +0200

    Genesis block doesn't seem to be added to block nodes

commit 615a36e6ec57ccd70ad7cd8fc7dcc32ba616b778
Author: mably <f.mably@gmail.com>
Date:   Wed Sep 10 00:11:09 2014 +0200

    getPrevNodeFromNode seems to return nil for some blocks

commit 2ecb28e740783ceb84277bf89dba45b4bf6bfc4f
Merge: 5f2b11b 56cc003
Author: mably <f.mably@gmail.com>
Date:   Tue Sep 9 18:57:13 2014 +0200

    Merge branch 'master' of https://github.com/mably/btcchain into mably

commit 5f2b11b45e2622962755b6c119b87b03c7ff1113
Merge: 8973c94 85b36f0
Author: mably <f.mably@gmail.com>
Date:   Tue Sep 9 18:55:06 2014 +0200

    Merge branch 'master' into mably

commit 56cc003b6568877a1e2401be654571e65c0e2770
Merge: 0913dca 754961b
Author: kac- <6b6163@gmail.com>
Date:   Tue Sep 9 12:35:30 2014 +0200

    Merge branch 'master' of github.com:mably/btcchain

commit 0913dca324086ce4bf2a59bf7f3ef0b967940dad
Author: kac- <6b6163@gmail.com>
Date:   Tue Sep 9 12:32:03 2014 +0200

    removed GeneratedStakeModifier and StakeEntropyBit from Block.Meta

commit 754961b8c41c0ded00dc25d52cd6a7c4d27bfd8d
Author: mably <mably>
Date:   Tue Sep 9 12:28:42 2014 +0200

    Use peercoin specific ppcNewBlockNode in CheckConnectBlock

commit 536ef8a51d9e53b92249120ee20ae3b0d3df7f53
Merge: 268674d 23c562a
Author: mably <mably>
Date:   Tue Sep 9 11:58:17 2014 +0200

    Merge branch 'master' of https://github.com/mably/btcchain

    Conflicts:
    	chain.go

commit 268674ddf65258a26d1f7bf2547bb7d88624300d
Author: mably <mably>
Date:   Tue Sep 9 11:48:10 2014 +0200

    Use new method to fetch header and meta from database

commit 23c562a28e1abdae9fc3750dd9e55379ada42b58
Merge: 9a3ccf5 6f3e362
Author: kac- <6b6163@gmail.com>
Date:   Tue Sep 9 11:29:49 2014 +0200

    Merge branch 'master' of github.com:mably/btcchain

commit 9a3ccf5a7e1ce459fa0ef5bb3368584134f71396
Author: kac- <6b6163@gmail.com>
Date:   Tue Sep 9 11:29:28 2014 +0200

    error fixing, lot of TODOs, tests passed

commit 6f3e362d2ef048737367bda8076b79a6999ac470
Author: mably <mably>
Date:   Tue Sep 9 09:54:52 2014 +0200

    Code cleaning

commit 8973c942b8c2127ab2c369800517d00b2fefb5f2
Merge: 499623c 3d1f0a2
Author: mably <f.mably@gmail.com>
Date:   Tue Sep 9 07:44:04 2014 +0200

    Merge branch 'master' of https://github.com/mably/btcchain into mably

    Conflicts:
    	ppcutil.go

commit 499623cbdab6376eac1a91e6ba4c7b33a3903127
Merge: 8c6f357 281647b
Author: mably <f.mably@gmail.com>
Date:   Mon Sep 8 23:56:54 2014 +0200

    Merge branch 'mably' of https://github.com/mably/btcchain into mably

    Conflicts:
    	ppcutil.go

commit 8c6f357d2c795e65a06e3a910e12ab46d0ec9758
Author: mably <f.mably@gmail.com>
Date:   Mon Sep 8 23:50:22 2014 +0200

    Peercoin PoS metadata management

commit 85b36f06657baa79f9ee185b9ba57046308a5be4
Author: mably <f.mably@gmail.com>
Date:   Mon Sep 8 23:50:22 2014 +0200

    Peercoin PoS metadata management

commit 281647b276d0a874bb5e67cda4402d9f4b86bafd
Author: mably <f.mably@gmail.com>
Date:   Mon Sep 8 23:50:22 2014 +0200

    Peercoin PoS metadata management

commit 3d1f0a222a914eb1e2614fd56861e95bb0bcfec8
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 21:09:11 2014 +0200

    remove errors from ppcutil.go

commit c37031689e54512525287b8af11bf9e616f26e77
Merge: 7b4a7b8 04835eb
Author: mably <mably>
Date:   Mon Sep 8 17:58:22 2014 +0200

    Merge branch 'mably' of https://github.com/mably/btcchain into mably

commit 7b4a7b8cba6f8478355629b9be6e6d01ea59d164
Author: mably <mably>
Date:   Mon Sep 8 17:37:16 2014 +0200

    Small code cleaning and reorg

commit 04835ebaec29f6a90a1942fae2ce5c485742366c
Author: mably <mably>
Date:   Mon Sep 8 17:37:16 2014 +0200

    Small code cleaning and reorg

commit 1d14063e29f9d997dd4ff7a66788c4fef387e7d3
Merge: c970773 43cd485
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 16:08:03 2014 +0200

    Merge branch 'mably' into kac

commit 43cd485c9446ec50bad22e07f52e0d84aedad8d7
Merge: d589058 fad30d7
Author: mably <f.mably@gmail.com>
Date:   Mon Sep 8 16:05:29 2014 +0200

    Merge branch 'mably' of https://github.com/mably/btcchain into mably

commit c9707739d7d61824d4a8d5974b6a49af2216180e
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 16:05:05 2014 +0200

    moved peercoin specific parts to ppc.go

commit d589058675eac3597c29e47e7c75fac06b98a9da
Author: mably <f.mably@gmail.com>
Date:   Mon Sep 8 15:52:40 2014 +0200

    ShaHashToBig utilization

commit fad30d72e43fdac5135cc7a0db2c99cbba9dcd76
Author: mably <f.mably@gmail.com>
Date:   Mon Sep 8 15:52:40 2014 +0200

    ShaHashToBig utilization

commit 424b5fbd4d7c5e690392d6e54338393711dba8a1
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 15:38:41 2014 +0200

    some

commit 4c231e6ac702753f011281ec101c26bf844b7172
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 14:31:36 2014 +0200

    getStakeEntropyBit, code formatting

commit 24fdb60637d884e74118fd69bfd5cf5309956d07
Merge: 876ee7b 3cb4129
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 13:54:50 2014 +0200

    Merge branch 'mably' into kac

    Conflicts:
    	chain.go

commit 876ee7b63bc91ec013ff9f8fc271df7028f49221
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 13:19:02 2014 +0200

    comment fix

commit 52a68d803b5e6e3d1b0a3940b12fa6cb16f97445
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 12:36:14 2014 +0200

    tests: process first 256 peercoin blocks

commit 61079b10c82f11d0e56c30a5217cf56c03632d2c
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 12:35:02 2014 +0200

    Peercoin: BlockChain PoW blocks acceptance, diff calcs

commit 4e15ab94c98be7e8ea13c142c8b02380f15101e2
Author: kac- <6b6163@gmail.com>
Date:   Mon Sep 8 08:37:43 2014 +0200

    update tests

commit 3cb4129774f821bc993600c12d290a7b2d592edc
Author: mably <f.mably@gmail.com>
Date:   Mon Sep 8 08:11:19 2014 +0200

    PoS integration work

commit 7d3ddd65e618e6f232360a6c8e9c863d8cdf69fd
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 7 20:08:27 2014 +0200

    VerifySignature implementation

commit 4d3377ec170f9417ed1ad3fd63606955eb0a1cf5
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 7 19:23:41 2014 +0200

    nTxPrevOffset calculation fix

commit 7f6e2f9b643148bc95c98514305359c6ae87a22a
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 7 16:11:51 2014 +0200

    Indentation fix

commit a4b658fe15d38d19cba15e15590f4fef77c7757c
Merge: 3b53ae5 726c1a2
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 7 16:07:30 2014 +0200

    Merge branch 'master' of https://github.com/mably/btcchain

commit 3b53ae5179d04bc96898406801025d42098a73ba
Author: mably <f.mably@gmail.com>
Date:   Sun Sep 7 16:03:57 2014 +0200

    First version of kernel.cpp port to Go

commit 726c1a2e904d01b35278503823fbdbf120d8aa32
Author: François <f.mably@gmail.com>
Date:   Fri Sep 5 11:13:31 2014 +0200

    Update README.md

commit 72120a5b7397d82cbd82295924c2a2121ebf9482
Author: François <f.mably@gmail.com>
Date:   Wed Sep 3 22:12:17 2014 +0200

    Update README.md

commit 2adea1a9f247d6cbb670441e42f27d6624360874
Author: François <f.mably@gmail.com>
Date:   Wed Sep 3 21:56:16 2014 +0200

    Update .travis.yml

commit 9f034dec7a091f4f148fbb4973e81be1f05082d5
Author: François <f.mably@gmail.com>
Date:   Wed Sep 3 17:36:33 2014 +0200

    Update README.md

commit c91649be5dff927cc31ad2c5a5050cffd12f9619
Author: mably <f.mably@gmail.com>
Date:   Tue Sep 2 22:46:37 2014 +0200

    Package renaming
accept.go: return to original rule
Moved checkBlockProofOfStake into kernel.go
Removed useless comment
Moved checkBlockProofOfStake into kernel.go

Conflicts:
	ppc.go
Removed useless comment
Merge branch 'cleanmaster' into mably

Conflicts:
	chain.go
	kernel.go
	ppc.go
	ppc_processblock_test.go
	ppcutil.go
	process.go
Merge branch 'mably2' into topic/optim

Conflicts:
	kernel.go