This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/database/tbcd/level/level.go b/database/tbcd/level/level.go | |
| index e05c317a..eda54dad 100644 | |
| --- a/database/tbcd/level/level.go | |
| +++ b/database/tbcd/level/level.go | |
| @@ -56,7 +56,7 @@ const ( | |
| heighthashSize = 8 + 1 + chainhash.HashSize | |
| blockheaderSize = 120 | |
| keystoneSize = chainhash.HashSize + hemi.L2KeystoneAbrevSize | |
| - keystoneHeightHashSize = 1 + 4 + chainhash.HashSize // h uint32(height) block_hash | |
| + keystoneHeightHashSize = 1 + 8 + chainhash.HashSize // h uint64(height) block_hash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Header": { | |
| "Version": 1, | |
| "PrevBlock": "000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943", | |
| "MerkleRoot": "f0315ffc38709d70ad5647e22048358dd3745f3ce3874223c80a7c92fab0c8ba", | |
| "Timestamp": "2011-02-02T18:22:08-05:00", | |
| "Bits": 486604799, | |
| "Nonce": 1924588547 | |
| }, | |
| "Transactions": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Header": { | |
| "Version": 1, | |
| "PrevBlock": "000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943", | |
| "MerkleRoot": "f0315ffc38709d70ad5647e22048358dd3745f3ce3874223c80a7c92fab0c8ba", | |
| "Timestamp": "2011-02-02T18:22:08-05:00", | |
| "Bits": 486604799, | |
| "Nonce": 1924588547 | |
| }, | |
| "Transactions": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2019-07-05 12:59:50.881 [TRC] TSRV: fsckRecord [5/1881] | |
| 2019-07-05 12:59:50.886 [TRC] TSRV: fsckRecord get: 5725ac81-bdaa-4e58-b80e-f75db23715ba | |
| 2019-07-05 12:59:50.886 [TRC] TSRV: fsckRecord struct: anchor | |
| 2019-07-05 12:59:50.886 [TRC] TSRV: fsckRecord 5725ac81-bdaa-4e58-b80e-f75db23715ba Data integrity OK | |
| 2019-07-05 12:59:51.964 [TRC] TSRV: fsckRecord 5725ac81-bdaa-4e58-b80e-f75db23715ba Anchor OK | |
| 2019-07-05 12:59:51.965 [TRC] TSRV: fsckRecord get: 0721daf0-e73b-4bac-b4a4-b06c7e313b0c | |
| 2019-07-05 12:59:51.967 [TRC] TSRV: fsckRecord mime: text/plain; charset=utf-8 | |
| 2019-07-05 12:59:51.96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include | |
| #include | |
| #include | |
| #include | |
| #define NCOUNT (100000) | |
| #define TCOUNT (4) | |
| volatile uint64_t u = 0; | |
| volatile uint64_t *casvar = &u; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include | |
| #include | |
| #include | |
| #include | |
| #define NCOUNT (100000) | |
| #define TCOUNT (4) | |
| volatile uint64_t u = 0; | |
| volatile uint64_t *casvar = &u; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <pthread.h> | |
| //#define NCOUNT (1000000) | |
| #define NCOUNT (100000) | |
| #define TCOUNT (20) | |
| volatile uint64_t u = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [example]$ politeiavoter --testnet inventory | |
| 2018-06-20 14:14:25.410 [WRN] POLV: open /Users/marco/Library/Application Support/Politeiavoter/politeiavoter.conf: no such file or directory | |
| Vote: c5241806166d89286be56cd2605e7d76537eb32a40a8f8d8bde3bff4c2fc6585 | |
| Proposal : one pic in prop | |
| Start block : 329094 | |
| End block : 331110 | |
| Mask : 3 | |
| Eligible tickets: 7 | |
| Vote Option: | |
| Id : no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am marcopeereboom on github. | |
| * I am moo31337 (https://keybase.io/moo31337) on keybase. | |
| * I have a public key ASCE1pXhV1U7TwB6XRelXiKccDLvrFwPZ5t29xJ6X_xNOAo | |
| To claim this, I am signing this object: |