#include     ← All Tags

1MFjqjZ5gy5n7M39
1092d
#include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!!!");
return 0;
}
1MFjqjZ5gy5n7M39
1092d
#include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!!!!!");
return 0;
}
14Fg8XcVSPR9Abk8
1547d
// Copyright (c) 2009 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.

#include "headers.h"
#include "sha.h"





//
// Global state
//

CCriticalSection cs_main;

map<uint256, CTransaction> mapTransactions;
CCriticalSection cs_mapTransactions;
unsigned int nTransactionsUpdated = 0;
map<COutPoint, CInPoint> mapNextTx;

map<uint256, CBlockIndex*> mapBlockIndex;
const uint256 hashGenesisBlock("0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f");
CBlockIndex* pindexGenesisBlock = NULL;
int nBestHeight = -1;
uint256 hashBestChain = 0;
CBlockIndex* pindexBest = NULL;

map<uint256, CBlock*> mapOrphanBlocks;
multimap<uint256, CBlock*> mapOrphanBlocksByPrev;

map<uint256, CDataStream*> mapOrphanTransactions;
multimap<uint256, CDataStream*> mapOrphanTransactionsBy...
Read more...
1JHaEMi2KnsEymQw4XTcpkLWmAurYs98gE
1985d
// Copyright (c) 2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "crypto/sha512.h"

#include "crypto/common.h"

#include <cstring>

// Internal implementation code.
namespace {
/// Internal SHA-512 implementation.
namespace sha512 {
inline uint64_t Ch(uint64_t x, uint64_t y, uint64_t z) {
return z ^ (x & (y ^ z));
}
inline uint64_t Maj(uint64_t x, uint64_t y, uint64_t z) {
return (x & y) | (z & (x | y));
}
inline uint64_t Sigma0(uint64_t x) {
return (x >> 28 | x << 36) ^ (x >> 34 | x << 30) ^ (x >> 39 | x << 25);
}
inline uint64_t Sigma1(uint64_t x) {
return (x >> 14 | x << 50) ^ (x >> 18 | x << 46) ^ (x >> 41 | x << 23);
}
inline uint64_t sigma0(uint64_t x) {
return (x &g...
Read more...
1DviXsZGa79weJ2C
1547d
// Copyright (c) 2009 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.

#include "headers.h"
#include "sha.h"





//
// Global state
//

CCriticalSection cs_main;

map<uint256, CTransaction> mapTransactions;
CCriticalSection cs_mapTransactions;
unsigned int nTransactionsUpdated = 0;
map<COutPoint, CInPoint> mapNextTx;

map<uint256, CBlockIndex*> mapBlockIndex;
const uint256 hashGenesisBlock("0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f");
CBlockIndex* pindexGenesisBlock = NULL;
int nBestHeight = -1;
uint256 hashBestChain = 0;
CBlockIndex* pindexBest = NULL;

map<uint256, CBlock*> mapOrphanBlocks;
multimap<uint256, CBlock*> mapOrphanBlocksByPrev;

map<uint256, CDataStream*> mapOrphanTransactions;
multimap<uint256, CDataStream*> mapOrphanTransactionsBy...
Read more...
Laeeth Isharc
2428d