Git Product home page Git Product logo

indexprotocol's People

Contributors

aleksraiden avatar

Watchers

 avatar  avatar

indexprotocol's Issues

checkTX for all transaction with compliance filtering

Пока, я думаю, перенесем систему комплаинса транзакций с первой версии датафида и проверять каждую транзакцию по накопленной инфе за N блоков ранее.

Add amino-encoding decoder for js

Go-утилита консольная. Получает на вход (первым аргументом) JSON-строку вида:
{"type": "tendermint/PrivKeyEd25519","value":"yCQJsLNUGDpTwmMFZ5BOKPWzmev9oTApOO/kHOZmZZxRXeQa61YvY17fUfFQwj+iQxB3lbcHciJBaaDWjMObdA=="}

Возвращает в std-out закодированый в hex-формате ключ (приватный или публичный - зависит от входного).

После возврата данных программа прекращает работу :)

Merkle Tree for index calculation and proofs

Тестирование JS реализации показало сильную нагрузку на CPU.
Возможно следует переписать библиотеку (там излишне много перехеширований). Или отложим на реализацию на Go

Indexing by tag

Сейчас есть, предположительно, баг в Tendermint, не позволяющий делать запросы по кастомным тегам.

Для всех криптовых транзакций добавлять теги:
cet.id - идентификатор с биржи уникальный
cet.symbol - формальный символ, например BTC/USD
cet.asset, cet.currency = BTC and USD
cet.week, cet.date(date/month), cet.year, cet.time (hour:minutes)
cet.exchange - code of exchange
cet.compliance - level of complience, added by own engine
cet.side - BUY, SELL, UNK
cet.type - FX, OPT, FUT - code of asset
cet.fiat - YES or NO or UNK - is fiat currency
cet.place = OTC, EXC, REGEXCH, DEX, TRADEX (tradit exchange), FNS (other finance service, like Revolute), BANK - type of place

Testing transaction pack

  1. Prepare test of transactions (use Binance exchange, random 100 samples by 15 min frame)
  2. Test various format - compact json, hex-serialized, binary pack (test pack PHP funct)
  3. Test compressing algs. - LZMA2, zstd, Brotli etc.

Datafeed as dedicated app

Сохранить датафид как отдельный апликейшин, но переписать его на JS

Analytics at WebConsole

Когда починим работу с тегами - добавить в терминал возможность запросов и графики

Fix data tx sending if local node is down

Если локальная нода не может принять транзакцию, посылать ее на общий адрес за балансером

Add mechanism for consensus layer for calc avg data

Базово, тендерминт и ABCI синхронизируют исходные данные транзакций. Каждая нода считает свои данные по индексам и OHLC и другие индикаторы.

Добавить механизм, чтобы ноды обменивались этими данными и они также сохранялись в блокчейне.

Например, каждая нода отсылает в сеть свои расчитанные данные (как предложение). Когда нода получает такую транзакцию, она смотрит на свои данные к этому же блоку и если они такие же, обновляет связанную с ним структуру подписью ноды-отправителя.

Uses RocksDB at Tendermint

Switch (or add as parallel) support of RocksDB. Maybe as optional (at config mem|level|rocks).

If we can, send pull-request to Tendermint main project.

Geizenbug )

AVG: Calc Rates commited for height 1677 (diff: 2)
1679 block, data tx: 42, appState hash: 9001f30956db6993ca4b62525f8b00ceeca59c07f06864afdccb510c84deb002, save OK to disc (calc: 20 ms, save: 3.59 ms, block: 21 ms)
ABCI error on "deliverTx": RangeError: Could not decode varint
at Object.read [as decode] (/opt/tendermint/app/node_modules/varint/decode.js:17:13)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:37:25)
at onMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:71:14)
at succeed (/opt/tendermint/app/node_modules/js-abci/src/server.js:28:9)
at Connection [as onMessage] (/opt/tendermint/app/node_modules/js-abci/src/server.js:77:9)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:66:10)
at onMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:71:14)
at succeed (/opt/tendermint/app/node_modules/js-abci/src/server.js:28:9)
at Connection [as onMessage] (/opt/tendermint/app/node_modules/js-abci/src/server.js:77:9)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:66:10)
TEST, Range error will be ignored!
RangeError: Could not decode varint
at Object.read [as decode] (/opt/tendermint/app/node_modules/varint/decode.js:17:13)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:37:25)
at onMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:71:14)
at succeed (/opt/tendermint/app/node_modules/js-abci/src/server.js:28:9)
at Connection [as onMessage] (/opt/tendermint/app/node_modules/js-abci/src/server.js:77:9)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:66:10)
at onMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:71:14)
at succeed (/opt/tendermint/app/node_modules/js-abci/src/server.js:28:9)
at Connection [as onMessage] (/opt/tendermint/app/node_modules/js-abci/src/server.js:77:9)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:66:10)
(node:14715) UnhandledPromiseRejectionWarning: RangeError: Could not decode varint
at Object.read [as decode] (/opt/tendermint/app/node_modules/varint/decode.js:17:13)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:37:25)
at onMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:71:14)
at fail (/opt/tendermint/app/node_modules/js-abci/src/server.js:48:4)
at Connection [as onMessage] (/opt/tendermint/app/node_modules/js-abci/src/server.js:79:9)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:66:10)
at onMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:71:14)
at succeed (/opt/tendermint/app/node_modules/js-abci/src/server.js:28:9)
at Connection [as onMessage] (/opt/tendermint/app/node_modules/js-abci/src/server.js:77:9)
at Connection.maybeReadNextMessage (/opt/tendermint/app/node_modules/js-abci/src/connection.js:66:10)
(node:14715) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)
(node:14715) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.