I would like to model a blockchain in UML. Here are the requirements that I came up with:
Here my UML class diagram:
Since I am new to the blockchain technology, I would like to know: is this diagram correct? Did I miss something?
I'm not a blockchain expert. However, I can give you feedback on your diagram:
Owner
and Contact
are Users
(Specialization) Users
are organized in a hierarchy (One to many relation between users). I'm not sure that this is your intent. I suppose that you wanted to indicate that an Owner
can have several Contacts
.Money
is: is it a all the money a user have ? Or is it a blockchain entry (transaction) ? Make sure that the associations are in line with your definition.Bank Account
. Not sure it's your intent.Wallet
doesn't have a User
or an Owner
? In addition, I miss the following basic elements of the technology: the block, the chain fo blocks, the (decentralised) ledger(s), and the transactions ?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.