Functioning Mechanism of Blockchain Technology