Skip to content

type-a/OffChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain daily

Inline docs Build Status

Getting Started

Building a backbones blockchain can be both easy and complicated based on what our end goal is. This repository is specifically targeted to build a working blockchain prototype.

Project Directory

.
├── CMakeLists.txt
├── LICENSE
├── Project
│   ├── Block.cpp
│   ├── Blockchain.cpp
│   ├── Blockchain.h
│   ├── atomic_swap.h
│   ├── block.h
│   ├── main.cpp
│   ├── sha256.cpp
│   └── sha256.h
├── README.md
└── cmake-build-debug
    ├── CMakeCache.txt
    ├── CMakeFiles
    │   ├── 3.10.3
    │   │   ├── CMakeCCompiler.cmake
    │   │   ├── CMakeCXXCompiler.cmake
    │   │   ├── CMakeDetermineCompilerABI_C.bin
    │   │   ├── CMakeDetermineCompilerABI_CXX.bin
    │   │   ├── CMakeRCCompiler.cmake
    │   │   ├── CMakeSystem.cmake
    │   │   ├── CompilerIdC
    │   │   │   ├── CMakeCCompilerId.c
    │   │   │   ├── a.exe
    │   │   │   └── tmp
    │   │   └── CompilerIdCXX
    │   │       ├── CMakeCXXCompilerId.cpp
    │   │       ├── a.exe
    │   │       └── tmp
    │   ├── CMakeDirectoryInformation.cmake
    │   ├── CMakeOutput.log
    │   ├── CMakeTmp
    │   ├── Makefile.cmake
    │   ├── Makefile2
    │   ├── OffChain.dir
    │   │   ├── Block.cpp.obj
    │   │   ├── Blockchain.cpp.obj
    │   │   ├── CXX.includecache
    │   │   ├── DependInfo.cmake
    │   │   ├── Project
    │   │   ├── build.make
    │   │   ├── cmake_clean.cmake
    │   │   ├── depend.internal
    │   │   ├── depend.make
    │   │   ├── flags.make
    │   │   ├── link.txt
    │   │   ├── linklibs.rsp
    │   │   ├── main.cpp.obj
    │   │   ├── objects.a
    │   │   ├── objects1.rsp
    │   │   ├── progress.make
    │   │   └── sha256.cpp.obj
    │   ├── TargetDirectories.txt
    │   ├── clion-environment.txt
    │   ├── clion-log.txt
    │   ├── cmake.check_cache
    │   ├── feature_tests.bin
    │   ├── feature_tests.c
    │   ├── feature_tests.cxx
    │   └── progress.marks
    ├── Makefile
    ├── OffChain.cbp
    ├── OffChain.exe
    └── cmake_install.cmake

Usage

>>cd Projects
>>g++ main.cpp sha256.h sha256.cpp block.h Blockchain.h Block.cpp Blockchain.cpp atomic_swap.h
>>a.exe

Save and Restore

TODO

CLI Usage

TODO

Mining Algorithms

Testing your mining algorithms TODO