package
0.0.0-20241229235233-b134de43924a
Repository: https://github.com/kim-daehan/go-blockchain.git
Documentation: pkg.go.dev

# Functions

코인베이스 트랜잭션을 생성(새로운 블록에 대한 보상 트랜잭션).
No description provided by the author
블록 생성하는 함수.
DB파일 있는지 확인하는 함수.
바이트 슬라이스를 사용하여 Block 구조체 복원.
주어진 바이트 슬라이스를 Txoutputs 구조체로 역직렬화.
주어진 바이트 배열을 디코딩 하여 Transaction 구조체로 변환하는 함수.
Genesis 블록 만드는 함수.
No description provided by the author
No description provided by the author
새로운 Merkle 노드 생성.
주어진 데이터 조각들로부터 Merkle 트리를 생성.
블록을 가져오는 알고리즘의 첫 번째(새로운 증명).
새로운 일반 트랜잭션 생성(자금 전송).
새로운 트랜잭션 출력을 생성.
int64 타입의 숫자를 16진수 바이트 배열로 변환하는 함수.

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
MerkleNode 구조체(트리의 각 노드).
MerkleTree 구조체(루트 노드).
No description provided by the author
트랜잭션에 대한 정보.
트랜잭션 입력에 대한 정보.
트랜잭션의 출력에 대한 정보.
No description provided by the author
블록체인에서 사용하는 UTXO 집합.