A minimal blockchain