Add ER diagram and schema docs, enhance tx validation
Added ER.svg and database_schema.md to document the logical data model. Refactored and extended transaction validation in blockchain/abci.go to enforce ID prefix rules, entity existence, and uniqueness for promises, commitments, commiters, and beneficiaries. Updated lbc_sdk dependency version in go.mod and go.sum.
This commit is contained in:
parent
57c40d9f07
commit
dae1cd484e
5 changed files with 240 additions and 83 deletions
2
go.mod
2
go.mod
|
|
@ -68,7 +68,7 @@ require (
|
|||
github.com/google/orderedcode v0.0.1 // indirect
|
||||
github.com/google/pprof v0.0.0-20241017200806-017d972448fc // indirect
|
||||
github.com/gorilla/websocket v1.5.3 // indirect
|
||||
github.com/gregorybednov/lbc_sdk v0.0.0-20250810102513-432a51e65f76 // indirect
|
||||
github.com/gregorybednov/lbc_sdk v0.0.0-20250810123844-a90b874431fa // indirect
|
||||
github.com/gtank/merlin v0.1.1 // indirect
|
||||
github.com/hashicorp/hcl v1.0.0 // indirect
|
||||
github.com/hjson/hjson-go/v4 v4.4.0 // indirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue