summaryrefslogtreecommitdiff
path: root/scripts/rz_api_mesh.js
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-11-13 17:41:57 +0200
committerLV-426 <lv-426@taproot.org.il>2014-11-13 17:41:57 +0200
commit76d1de512a58f023ae348ae8500100490fba9915 (patch)
tree87a3df058d3aaf1a3f2c408a784ffe63209cdaac /scripts/rz_api_mesh.js
parent4a303d5a7a7e1f8327bb18a2ef3e3093a30a50b6 (diff)
rename scripts/ -> src/
Diffstat (limited to 'scripts/rz_api_mesh.js')
-rw-r--r--scripts/rz_api_mesh.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/rz_api_mesh.js b/scripts/rz_api_mesh.js
deleted file mode 100644
index 9014dbac..00000000
--- a/scripts/rz_api_mesh.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * API calls designed to execute in decentralized fashion
- */
-define(['rz_api_backend'],
-function(rz_api_backend) {
- function RZ_API_Mesh() {
-
- /**
- * suggest diff block and await commit/reject consensus
- */
- // @ajax-trans
- this.broadcast_possible_next_diff_block = function (diff_set) {
-
- function on_success(data){
- // TODO impl
- }
-
- rz_api_backend.commit_diff_set(diff_set);
- }
- }
- return new RZ_API_Mesh();
-});