Created
          May 21, 2018 10:35 
        
      - 
      
- 
        Save RushOnline/c2da7b120345bd9637baa270c3af3868 to your computer and use it in GitHub Desktop. 
    Hex dump altcoin/bitcoin genesis block header
  
        
  
    
      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
    
  
  
    
  | CDataStream ds(SER_NETWORK, PROTOCOL_VERSION); | |
| ( (CBlockHeader*) &genesis )->Serialize(ds); | |
| for(CDataStream::const_iterator it = ds.begin(); it != ds.end(); ++it) { | |
| fprintf(stdout, "%02x", 0x00FF & *it); | |
| } | |
| fprintf(stdout, "\n"); | |
| exit(1); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment