• Knock_Knock_Lemmy_In@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    You can easily implement a script that checks if every commit from remotes are signed, accepts them if they are and drops them if they aren’t or the signature is invalid.

    Now add some logic to check whether the actual data is valid (i.e. bob has enough coins in his account to send to Charlie).

    Make some incentive to ensure only the main branch survives and forks are either eliminated or merged.

    Automate

    Now git replicates blockchain’s functionality.

    So if you state that signatures are required to be a blockchain, then you can use git to create a blockchain, by just having that policy.

    Yes, but add automatically processing the content of the commit for validity and incentives to reduce the number of forks.

    (IMO I wouldn’t say that signatures are required, just that blockchains usually have them.)

    Without public key cryptography you just have a hash linked list (like Git).