Distributed Transaction Protocol for Bachelor Thesis