Click me to randomize (add, delete, update) values.
Click me to add a value.
Click me to delete a value.
================================================ FILE: code/web/docker-compose.yml ================================================ version: '2' services: web: build: context: . dockerfile: ./Dockerfile ports: - "8000:8000" entrypoint: http-server -p 8000 -c-1 /app/ # interactive: true #environment: # DOCKER_CACHING_TIME: 5 # NODE_PORT: 4458 # NODE_DEBUGGER: 0 ================================================ FILE: code/web/entrypoint.sh ================================================ #!/usr/bin/env bash set -e; # first use first program parameter, if not set use $PORT, if that is undefined use default 8000. PORT=${PORT:-8000} PORT=${1:-$PORT} API_URL=${API_URL:-http://localhost} JS_PATH=${JS_PATH:-/app/} SECRET_FILE='src/config.js' echo "'use strict';" > $SECRET_FILE; echo "" >> $SECRET_FILE; echo "var _API_URL = \"$API_URL\";" >> $SECRET_FILE; echo "Starting server on port $PORT (\$PORT), serving path \"$JS_PATH\" (\$JS_PATH)." echo "The browser will connect to the API at \"$API_URL\" (\$API_URL)." COMMAND="http-server -p $PORT -c-1 $JS_PATH" echo "\$ $COMMAND" $COMMAND ================================================ FILE: code/web/example/api/v2/get_timeline/index.html ================================================ { "events": [ { "action": "send", "data": { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, "id": { "send": 68317 }, "nodes": { "send": 1 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.079226 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, "id": { "receive": 68318, "send": 68317 }, "nodes": { "receive": 1, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.117529 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.079226 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, "id": { "receive": 68319, "send": 68317 }, "nodes": { "receive": 3, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.146206 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.079226 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, "id": { "receive": 68320, "send": 68317 }, "nodes": { "receive": 4, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.160484 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.079226 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, "id": { "receive": 68321, "send": 68317 }, "nodes": { "receive": 2, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.172507 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.079226 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 1, "proposal": 6.1647744178772, "sequence_no": 298111723, "type": 2, "value_store": [ { "node": 3, "sequence_no": 298111722, "type": 1, "value": 6.164774417877197 }, { "node": 2, "sequence_no": 298111722, "type": 1, "value": 3.569486618041992 }, { "node": 4, "sequence_no": 298111722, "type": 1, "value": 2.458043336868286 }, { "node": 1, "sequence_no": 298111722, "type": 1, "value": 6.970949649810791 }, { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 } ] }, "id": { "send": 68322 }, "nodes": { "send": 1 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.184613 } }, "type": "propose" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "proposal": 6.164774417877197, "sequence_no": 298111723, "type": 2, "value_store": [ { "node": 3, "sequence_no": 298111722, "type": 1, "value": 6.164774417877197 }, { "node": 2, "sequence_no": 298111722, "type": 1, "value": 3.569486618041992 }, { "node": 4, "sequence_no": 298111722, "type": 1, "value": 2.458043336868286 }, { "node": 1, "sequence_no": 298111722, "type": 1, "value": 6.970949649810791 }, { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 } ] }, "id": { "receive": 68323, "send": 68322 }, "nodes": { "receive": 4, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.223817 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.184613 } }, "type": "propose" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "proposal": 6.164774417877197, "sequence_no": 298111723, "type": 2, "value_store": [ { "node": 3, "sequence_no": 298111722, "type": 1, "value": 6.164774417877197 }, { "node": 2, "sequence_no": 298111722, "type": 1, "value": 3.569486618041992 }, { "node": 4, "sequence_no": 298111722, "type": 1, "value": 2.458043336868286 }, { "node": 1, "sequence_no": 298111722, "type": 1, "value": 6.970949649810791 }, { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 } ] }, "id": { "receive": 68324, "send": 68322 }, "nodes": { "receive": 3, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.238699 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.184613 } }, "type": "propose" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "proposal": 6.164774417877197, "sequence_no": 298111723, "type": 2, "value_store": [ { "node": 3, "sequence_no": 298111722, "type": 1, "value": 6.164774417877197 }, { "node": 2, "sequence_no": 298111722, "type": 1, "value": 3.569486618041992 }, { "node": 4, "sequence_no": 298111722, "type": 1, "value": 2.458043336868286 }, { "node": 1, "sequence_no": 298111722, "type": 1, "value": 6.970949649810791 }, { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 } ] }, "id": { "receive": 68325, "send": 68322 }, "nodes": { "receive": 2, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.251722 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.184613 } }, "type": "propose" }, { "action": "send", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 3, "value": 6.1647744178772 }, "id": { "send": 68326 }, "nodes": { "send": 1 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.263576 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68327, "send": 68326 }, "nodes": { "receive": 4, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.297539 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.263576 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68328, "send": 68326 }, "nodes": { "receive": 3, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.32096 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.263576 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68329, "send": 68326 }, "nodes": { "receive": 2, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.348517 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.263576 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "proposal": 6.164774417877197, "sequence_no": 298111723, "type": 2, "value_store": [ { "node": 3, "sequence_no": 298111722, "type": 1, "value": 6.164774417877197 }, { "node": 2, "sequence_no": 298111722, "type": 1, "value": 3.569486618041992 }, { "node": 4, "sequence_no": 298111722, "type": 1, "value": 2.458043336868286 }, { "node": 1, "sequence_no": 298111722, "type": 1, "value": 6.970949649810791 }, { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 } ] }, "id": { "receive": 68330, "send": 68322 }, "nodes": { "receive": 1, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.370485 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.184613 } }, "type": "propose" }, { "action": "send", "data": { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.694884359836578 }, "id": { "send": 68331 }, "nodes": { "send": 3 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.384545 } }, "type": "init" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68332, "send": 68326 }, "nodes": { "receive": 1, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.424323 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.263576 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, "id": { "receive": 68333, "send": 68331 }, "nodes": { "receive": 4, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.468844 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.384545 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, "id": { "receive": 68334, "send": 68331 }, "nodes": { "receive": 2, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.499564 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.384545 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, "id": { "receive": 68335, "send": 68331 }, "nodes": { "receive": 3, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.513264 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.384545 } }, "type": "init" }, { "action": "send", "data": { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.75692510604858 }, "id": { "send": 68336 }, "nodes": { "send": 4 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.531546 } }, "type": "init" }, { "action": "send", "data": { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, "id": { "send": 68337 }, "nodes": { "send": 2 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.559259 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, "id": { "receive": 68338, "send": 68331 }, "nodes": { "receive": 1, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.57986 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.384545 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 3, "value": 6.1647744178772 }, "id": { "send": 68339 }, "nodes": { "send": 3 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.598602 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, "id": { "receive": 68340, "send": 68336 }, "nodes": { "receive": 2, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.636808 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.531546 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, "id": { "receive": 68341, "send": 68336 }, "nodes": { "receive": 4, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.680829 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.531546 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 3, "value": 6.1647744178772 }, "id": { "send": 68342 }, "nodes": { "send": 2 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.718341 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, "id": { "receive": 68343, "send": 68336 }, "nodes": { "receive": 1, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.74658 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.531546 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, "id": { "receive": 68344, "send": 68336 }, "nodes": { "receive": 3, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.789794 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.531546 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 3, "value": 6.1647744178772 }, "id": { "send": 68345 }, "nodes": { "send": 4 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.825813 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, "id": { "receive": 68346, "send": 68337 }, "nodes": { "receive": 2, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.857244 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.559259 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, "id": { "receive": 68347, "send": 68337 }, "nodes": { "receive": 3, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.894072 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.559259 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 4, "value": 6.1647744178772 }, "id": { "send": 68348 }, "nodes": { "send": 1 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.933549 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68349, "send": 68339 }, "nodes": { "receive": 2, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.993445 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.598602 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, "id": { "receive": 68350, "send": 68337 }, "nodes": { "receive": 4, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.036265 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.559259 } }, "type": "init" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68351, "send": 68339 }, "nodes": { "receive": 3, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.113367 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.598602 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, "id": { "receive": 68352, "send": 68337 }, "nodes": { "receive": 1, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.176518 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.559259 } }, "type": "init" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68353, "send": 68342 }, "nodes": { "receive": 2, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.208524 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.718341 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68354, "send": 68339 }, "nodes": { "receive": 4, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.242285 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.598602 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68355, "send": 68339 }, "nodes": { "receive": 1, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.281475 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.598602 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68356, "send": 68342 }, "nodes": { "receive": 3, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.319874 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.718341 } }, "type": "prevote" }, { "action": "send", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 4, "value": 6.1647744178772 }, "id": { "send": 68357 }, "nodes": { "send": 2 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.344503 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68358, "send": 68342 }, "nodes": { "receive": 1, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.368168 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.718341 } }, "type": "prevote" }, { "action": "send", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 4, "value": 6.1647744178772 }, "id": { "send": 68359 }, "nodes": { "send": 4 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.422657 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68360, "send": 68345 }, "nodes": { "receive": 2, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.446184 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.825813 } }, "type": "prevote" }, { "action": "send", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 4, "value": 6.1647744178772 }, "id": { "send": 68361 }, "nodes": { "send": 3 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.46845 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68362, "send": 68345 }, "nodes": { "receive": 1, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.50039 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.825813 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68363, "send": 68342 }, "nodes": { "receive": 4, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.531405 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.718341 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68364, "send": 68348 }, "nodes": { "receive": 2, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.549436 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.933549 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68365, "send": 68345 }, "nodes": { "receive": 3, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.568338 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.825813 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68366, "send": 68348 }, "nodes": { "receive": 1, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.587922 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.933549 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 3, "value": 6.164774417877197 }, "id": { "receive": 68367, "send": 68345 }, "nodes": { "receive": 4, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.613553 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.825813 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68368, "send": 68357 }, "nodes": { "receive": 2, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.65048 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.344503 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68369, "send": 68348 }, "nodes": { "receive": 3, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.668285 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.933549 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68370, "send": 68348 }, "nodes": { "receive": 4, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.695515 }, "send": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.933549 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68371, "send": 68357 }, "nodes": { "receive": 1, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.729508 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.344503 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68372, "send": 68359 }, "nodes": { "receive": 2, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.772382 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.422657 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68373, "send": 68357 }, "nodes": { "receive": 3, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.808814 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.344503 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68374, "send": 68357 }, "nodes": { "receive": 4, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.849705 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.344503 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68375, "send": 68359 }, "nodes": { "receive": 1, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.912457 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.422657 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68376, "send": 68359 }, "nodes": { "receive": 3, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.978688 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.422657 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68377, "send": 68359 }, "nodes": { "receive": 4, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:37 GMT", "unix": 1490558617.066265 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.422657 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68378, "send": 68361 }, "nodes": { "receive": 1, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:37 GMT", "unix": 1490558617.110159 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.46845 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68379, "send": 68361 }, "nodes": { "receive": 3, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:37 GMT", "unix": 1490558617.167484 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.46845 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68380, "send": 68361 }, "nodes": { "receive": 2, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:37 GMT", "unix": 1490558617.179415 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.46845 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111723, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68381, "send": 68361 }, "nodes": { "receive": 4, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:37 GMT", "unix": 1490558617.190296 }, "send": { "string": "Sun, 26 Mar 2017 20:03:36 GMT", "unix": 1490558616.46845 } }, "type": "vote" }, { "action": "send", "data": { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.35809087753296 }, "id": { "send": 68382 }, "nodes": { "send": 1 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.060954 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 }, "id": { "receive": 68383, "send": 68382 }, "nodes": { "receive": 1, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.0892 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.060954 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 }, "id": { "receive": 68384, "send": 68382 }, "nodes": { "receive": 4, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.125562 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.060954 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 }, "id": { "receive": 68385, "send": 68382 }, "nodes": { "receive": 2, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.171997 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.060954 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 }, "id": { "receive": 68386, "send": 68382 }, "nodes": { "receive": 3, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.203967 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.060954 } }, "type": "init" }, { "action": "send", "data": { "node": 3, "sequence_no": 298111724, "type": 1, "value": 7.8886079788208 }, "id": { "send": 68387 }, "nodes": { "send": 3 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.222616 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 1, "proposal": 4.35809087753296, "sequence_no": 298111724, "type": 2, "value_store": [ { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 } ] }, "id": { "send": 68388 }, "nodes": { "send": 1 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.25346 } }, "type": "propose" }, { "action": "send", "data": { "node": 2, "sequence_no": 298111724, "type": 1, "value": 9.73530006408691 }, "id": { "send": 68389 }, "nodes": { "send": 2 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.2805 } }, "type": "init" }, { "action": "send", "data": { "node": 4, "sequence_no": 298111724, "type": 1, "value": 0.359470218420029 }, "id": { "send": 68390 }, "nodes": { "send": 4 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.306264 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 3, "sequence_no": 298111724, "type": 1, "value": 7.888607978820801 }, "id": { "receive": 68391, "send": 68387 }, "nodes": { "receive": 4, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.333955 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.222616 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 3, "sequence_no": 298111724, "type": 1, "value": 7.888607978820801 }, "id": { "receive": 68392, "send": 68387 }, "nodes": { "receive": 3, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.352303 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.222616 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 3, "sequence_no": 298111724, "type": 1, "value": 7.888607978820801 }, "id": { "receive": 68393, "send": 68387 }, "nodes": { "receive": 2, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.376673 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.222616 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 3, "value": 4.35809087753296 }, "id": { "send": 68394 }, "nodes": { "send": 1 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.409385 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 2, "sequence_no": 298111724, "type": 1, "value": 9.735300064086914 }, "id": { "receive": 68395, "send": 68389 }, "nodes": { "receive": 4, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.437733 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.2805 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 2, "sequence_no": 298111724, "type": 1, "value": 9.735300064086914 }, "id": { "receive": 68396, "send": 68389 }, "nodes": { "receive": 3, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.485383 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.2805 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 2, "sequence_no": 298111724, "type": 1, "value": 9.735300064086914 }, "id": { "receive": 68397, "send": 68389 }, "nodes": { "receive": 2, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.536161 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.2805 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 3, "value": 4.35809087753296 }, "id": { "send": 68398 }, "nodes": { "send": 4 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.564023 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 3, "sequence_no": 298111724, "type": 1, "value": 7.888607978820801 }, "id": { "receive": 68399, "send": 68387 }, "nodes": { "receive": 1, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.587171 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.222616 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 3, "value": 4.35809087753296 }, "id": { "send": 68400 }, "nodes": { "send": 3 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.602183 } }, "type": "prevote" }, { "action": "send", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 3, "value": 4.35809087753296 }, "id": { "send": 68401 }, "nodes": { "send": 2 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.729595 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "proposal": 4.358090877532959, "sequence_no": 298111724, "type": 2, "value_store": [ { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 } ] }, "id": { "receive": 68402, "send": 68388 }, "nodes": { "receive": 2, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.959672 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.25346 } }, "type": "propose" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "proposal": 4.358090877532959, "sequence_no": 298111724, "type": 2, "value_store": [ { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 } ] }, "id": { "receive": 68403, "send": 68388 }, "nodes": { "receive": 3, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.036251 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.25346 } }, "type": "propose" }, { "action": "acknowledge", "data": { "node": 2, "sequence_no": 298111724, "type": 1, "value": 9.735300064086914 }, "id": { "receive": 68404, "send": 68389 }, "nodes": { "receive": 1, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.114397 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.2805 } }, "type": "init" }, { "action": "acknowledge", "data": { "node": 4, "sequence_no": 298111724, "type": 1, "value": 0.3594702184200287 }, "id": { "receive": 68405, "send": 68390 }, "nodes": { "receive": 2, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.148923 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.306264 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 4, "value": 6.1647744178772 }, "id": { "send": 68406 }, "nodes": { "send": 3 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.209692 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68407, "send": 68394 }, "nodes": { "receive": 2, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.318121 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.409385 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "proposal": 4.358090877532959, "sequence_no": 298111724, "type": 2, "value_store": [ { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 } ] }, "id": { "receive": 68408, "send": 68388 }, "nodes": { "receive": 4, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.413337 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.25346 } }, "type": "propose" }, { "action": "acknowledge", "data": { "node": 4, "sequence_no": 298111724, "type": 1, "value": 0.3594702184200287 }, "id": { "receive": 68409, "send": 68390 }, "nodes": { "receive": 3, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.464501 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.306264 } }, "type": "init" }, { "action": "send", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 4, "value": 6.1647744178772 }, "id": { "send": 68410 }, "nodes": { "send": 1 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.524051 } }, "type": "vote" }, { "action": "send", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 4, "value": 6.1647744178772 }, "id": { "send": 68411 }, "nodes": { "send": 2 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.553096 } }, "type": "vote" }, { "action": "send", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 4, "value": 6.1647744178772 }, "id": { "send": 68412 }, "nodes": { "send": 4 }, "timestamps": { "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.609441 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68413, "send": 68394 }, "nodes": { "receive": 3, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.664591 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.409385 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "proposal": 4.358090877532959, "sequence_no": 298111724, "type": 2, "value_store": [ { "node": 1, "sequence_no": 298111723, "type": 1, "value": 7.23430061340332 }, { "node": 3, "sequence_no": 298111723, "type": 1, "value": 0.6948843598365784 }, { "node": 4, "sequence_no": 298111723, "type": 1, "value": 7.756925106048584 }, { "node": 2, "sequence_no": 298111723, "type": 1, "value": 1.71371591091156 }, { "node": 1, "sequence_no": 298111724, "type": 1, "value": 4.358090877532959 } ] }, "id": { "receive": 68414, "send": 68388 }, "nodes": { "receive": 1, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.703477 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.25346 } }, "type": "propose" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68415, "send": 68398 }, "nodes": { "receive": 2, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.732756 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.564023 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 4, "sequence_no": 298111724, "type": 1, "value": 0.3594702184200287 }, "id": { "receive": 68416, "send": 68390 }, "nodes": { "receive": 4, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.788268 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.306264 } }, "type": "init" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68417, "send": 68398 }, "nodes": { "receive": 3, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.822536 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.564023 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "node": 4, "sequence_no": 298111724, "type": 1, "value": 0.3594702184200287 }, "id": { "receive": 68418, "send": 68390 }, "nodes": { "receive": 1, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.864831 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.306264 } }, "type": "init" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68419, "send": 68400 }, "nodes": { "receive": 2, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.9004 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.602183 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68420, "send": 68394 }, "nodes": { "receive": 4, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.94405 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.409385 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68421, "send": 68400 }, "nodes": { "receive": 3, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.976853 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.602183 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68422, "send": 68394 }, "nodes": { "receive": 1, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.015507 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.409385 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68423, "send": 68401 }, "nodes": { "receive": 2, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.044734 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.729595 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68424, "send": 68398 }, "nodes": { "receive": 4, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.082456 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.564023 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68425, "send": 68401 }, "nodes": { "receive": 3, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.112521 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.729595 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68426, "send": 68398 }, "nodes": { "receive": 1, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.152662 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.564023 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68427, "send": 68406 }, "nodes": { "receive": 2, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.180283 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.209692 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68428, "send": 68400 }, "nodes": { "receive": 4, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.260693 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.602183 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68429, "send": 68406 }, "nodes": { "receive": 3, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.293036 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.209692 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68430, "send": 68400 }, "nodes": { "receive": 1, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.341159 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.602183 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68431, "send": 68410 }, "nodes": { "receive": 2, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.42285 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.524051 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68432, "send": 68401 }, "nodes": { "receive": 4, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.474849 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.729595 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68433, "send": 68410 }, "nodes": { "receive": 3, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.534648 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.524051 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 3, "value": 4.358090877532959 }, "id": { "receive": 68434, "send": 68401 }, "nodes": { "receive": 1, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.575433 }, "send": { "string": "Sun, 26 Mar 2017 20:03:40 GMT", "unix": 1490558620.729595 } }, "type": "prevote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68435, "send": 68411 }, "nodes": { "receive": 2, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.616609 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.553096 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68436, "send": 68406 }, "nodes": { "receive": 4, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.655002 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.209692 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68437, "send": 68411 }, "nodes": { "receive": 3, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.705866 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.553096 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 3, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68438, "send": 68406 }, "nodes": { "receive": 1, "send": 3 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.753005 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.209692 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68439, "send": 68412 }, "nodes": { "receive": 2, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.790398 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.609441 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68440, "send": 68410 }, "nodes": { "receive": 4, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.820384 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.524051 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68441, "send": 68412 }, "nodes": { "receive": 3, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.866261 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.609441 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68442, "send": 68411 }, "nodes": { "receive": 4, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.885713 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.553096 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 1, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68443, "send": 68410 }, "nodes": { "receive": 1, "send": 1 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.922574 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.524051 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68444, "send": 68412 }, "nodes": { "receive": 4, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.952755 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.609441 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 2, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68445, "send": 68411 }, "nodes": { "receive": 1, "send": 2 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:42 GMT", "unix": 1490558622.982509 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.553096 } }, "type": "vote" }, { "action": "acknowledge", "data": { "leader": 1, "node": 4, "sequence_no": 298111724, "type": 4, "value": 6.164774417877197 }, "id": { "receive": 68446, "send": 68412 }, "nodes": { "receive": 1, "send": 4 }, "timestamps": { "receive": { "string": "Sun, 26 Mar 2017 20:03:43 GMT", "unix": 1490558623.041606 }, "send": { "string": "Sun, 26 Mar 2017 20:03:41 GMT", "unix": 1490558621.609441 } }, "type": "vote" } ], "nodes": [ 1, 2, 3, 4 ], "timestamps": { "max": { "string": "Sun, 26 Mar 2017 20:03:43 GMT", "unix": 1490558623.041606 }, "min": { "string": "Sun, 26 Mar 2017 20:03:35 GMT", "unix": 1490558615.079226 } } } ================================================ FILE: code/web/example/nodes.json ================================================ [{ "id": 1, "value": 0.5, "primary": true }, { "id": 2, "value": 0.6, "primary": false }, { "id": 3, "value": 0.5, "primary": false }, { "id": 4, "value": 0.5, "primary": false }, { "id": "summary", "value": 0.5 }] ================================================ FILE: code/web/index.html =================================================o.length)return n;var r=[],u=a[e++];return n.forEach(function(n,u){r.push({key:n,values:t(u,e)})}),u?r.sort(function(n,t){return u(n.key,t.key)}):r}var e,r,i={},o=[],a=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(mo.map,e,0),0)},i.key=function(n){return o.push(n),i},i.sortKeys=function(n){return a[o.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},mo.set=function(n){var t=new i;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},r(i,{has:function(n){return zo+n in this},add:function(n){return this[zo+n]=!0,n},remove:function(n){return n=zo+n,n in this&&delete this[n]},values:function(){var n=[];return this.forEach(function(t){n.push(t)}),n},forEach:function(n){for(var t in this)t.charCodeAt(0)===Co&&n.call(this,t.substring(1))}}),mo.behavior={},mo.rebind=function(n,t){for(var e,r=1,u=arguments.length;++r=0&&(r=n.substring(e+1),n=n.substring(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},mo.event=null,mo.requote=function(n){return n.replace(jo,"\\$&")};var jo=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Lo={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},Ho=function(n,t){return t.querySelector(n)},Fo=function(n,t){return t.querySelectorAll(n)},Po=bo[a(bo,"matchesSelector")],Oo=function(n,t){return Po.call(n,t)};"function"==typeof Sizzle&&(Ho=function(n,t){return Sizzle(n,t)[0]||null},Fo=function(n,t){return Sizzle.uniqueSort(Sizzle(n,t))},Oo=Sizzle.matchesSelector),mo.selection=function(){return Uo};var Ro=mo.selection.prototype=[];Ro.select=function(n){var t,e,r,u,i=[];n=d(n);for(var o=-1,a=this.length;++o=0&&(e=n.substring(0,t),n=n.substring(t+1)),Yo.hasOwnProperty(e)?{space:Yo[e],local:n}:n}},Ro.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=mo.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(m(t,n[t]));return this}return this.each(m(n,t))},Ro.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=n.trim().split(/^|\s+/g)).length,u=-1;if(t=e.classList){for(;++u =0?n.substring(0,t):n,r=t>=0?n.substring(t+1):"in";return e=xc.get(e)||Mc,r=bc.get(r)||dt,Ar(r(e.apply(null,Array.prototype.slice.call(arguments,1))))},mo.interpolateHcl=Rr,mo.interpolateHsl=Yr,mo.interpolateLab=Ir,mo.interpolateRound=Ur,mo.transform=function(n){var t=xo.createElementNS(mo.ns.prefix.svg,"g");return(mo.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new Zr(e?e.matrix:_c)})(n)},Zr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var _c={a:1,b:0,c:0,d:1,e:0,f:0};mo.interpolateTransform=Br,mo.layout={},mo.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++eTimeline for Message Flow of Nodes