NatoliChris / diablo-benchmark

The "DIstributed Analytical BLOckchain" Benchmark Framework. (Diablo). Measures blockchains with a focus on real-world applications and workload generation.
Apache License 2.0
11 stars 8 forks source link

Change blockchain API #3

Open gauthier-voron opened 2 years ago

gauthier-voron commented 2 years ago

Current API to integrate new blockchain is very Ethereum specific (see unused functions in Hyperledger Fabric / API mismatch in Algorand). We should put effort in a new API for a more abstract object (and add a set of "toolbox" functions if necessary).

I created an attempt for this in bac39179d071cdafb192f63108ad6f83307715d6 at blockchains/interface.go with bridges in blockchain/clientinterfaces/bridge.go and blockchain/workloadgenerators/bridge.go