Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Tomas Tauber
    @tomtau
    protobuf-codegen-pure ?
    Hongde Liu
    @enginespot
    the version changed to 2.6.1 within the file Cargo.lock "protobuf 2.6.1 (registry+https://github.com/rust-lang/crates.io-index)",

    [dependencies]
    bytes = "0.4"
    protobuf = "2.2.0"
    byteorder = "1.2.7"
    integer-encoding = "1.0.5"
    mockstream = "0.0.3"
    log = "0.4.6"
    env_logger = "0.6.1"
    tokio = "0.1"
    futures = "0.1"

    [build-dependencies]
    protobuf-codegen-pure = "2.2.0"

    2.2.0
    Tomas Tauber
    @tomtau
    ok... well, it gets a bit messy with "make update-protos", so I suggest to reset these files to be in line with master and there could a separate PR that would update them
    Hongde Liu
    @enginespot
    Hi @tomtau , I submitted a new version ,
    it should work well now
    Tomas Tauber
    @tomtau
    @enginespot looks ok. I don't have rights to merge pull requests, but hopefully someone from the Tendermint team will review the PR today or tomorrow. thanks a lot!
    Hongde Liu
    @enginespot
    Great!:) there will be many changes by now , since that the I/O logic is async , I will optimizate the file server.rs after pull requests accepted, the main work I think it will be add error handling process to server.rs , and refactoring the server.rs file .
    Hongde Liu
    @enginespot
    Hi @tomtau , by the way , do you have real online environment scenarios for use rust-abci?
    Tomas Tauber
    @tomtau
    @enginespot it's used in Chain: https://github.com/crypto-com/chain/blob/master/chain-abci/src/app/mod.rs#L15 that's likely the largest application so far -- there may be others in the future.
    ABCI in other languages have some: e.g. BigChainDB uses Python-ABCI: https://github.com/bigchaindb/bigchaindb/blob/0c4d6ec906539b78894982f51f029327c1c12691/bigchaindb/core.py#L11
    Hongde Liu
    @enginespot
    Great , I will try to study the usecase , and try to get more idea for rust-abci
    Tomas Tauber
    @tomtau
    One nice project to do with rust-abci could be some high-level framework for Rust (something like Cosmos SDK or Lotion-JS: https://github.com/nomic-io/lotion#smooth-easy-blockchain-apps-powered-by-tendermint-consensus )
    Hongde Liu
    @enginespot
    :) ok , I will study it:)
    Tomas Tauber
    @tomtau
    Hey @hcvst @sergejp, one possible help that can be in any language would be a "faucet" (a web service that gives out coins in some way) -- for the faucet wallet backend, one could use internally this https://github.com/crypto-com/chain/tree/master/client-rpc#cryptocom-chain-client-json-rpc-server-client-rpc
    We now have new technical docs here: https://crypto-com.github.io but a warning that it's still WIP (the initial setup is better described in README: https://github.com/crypto-com/chain#start-local-full-node )
    Tomas Tauber
    @tomtau
    FYI, some non-Rust code is written here: https://github.com/crypto-com/sample-chain-wallet
    Ben
    @benfen
    Hey, I've been reading through the docs at https://crypto-com.github.io to try and get a node set up on the testnet and it's a bit of a struggle. Is that documentation still up to date or is there a completed version somewhere else?
    Tomas Tauber
    @tomtau
    Hi @benfen, welcome and thanks for your interest! As you mentioned "testnet", I assume you've been following this document: https://crypto-com.github.io/getting-started/thaler-testnet.html That particular document is up to date -- could you describe more details about your setup and what exactly do you struggle with?
    Ben
    @benfen
    I'm having a bit of trouble when I run the RUST_LOG=info ./chain-abci --chain_id testnet-thaler-crypto-com-chain-42 --genesis_app_hash 4BBC5A3CBD174BF5BE631858A17AFAF047B27B732716459EA8698F57D5B093C0 --enclave_server ipc://$HOME/enclave.socket command
    Every time it attempts to connect to the enclave it reports an app hash of None, then dies
    I also tried configuring for the Getting Started page (./chain-abci --chain_id main-ab --genesis_app_hash F70EA237FAD1634215E55E63C9A46F0AD69DB9899DAA6FDCB17011827699B537 --enclave_server ipc://$HOME/enclave.socket) and that is able to connect to the enclave
    Tomas Tauber
    @tomtau

    @benfen, based on what you described

    tried configuring for the Getting Started page

    it seems like you previously initialized tx-validation-app or chain-abci for the development network rather than the public testnet. Could you try deleting the internal storage (default directories are .enclave and .cro-storage) and starting things up again from scratch based on the steps in https://crypto-com.github.io/getting-started/thaler-testnet.html ? You may also need to check if the .tendermint/config/... (genesis.json + config.toml) is configured correctly and clear Tendermint's internal storage (tendermint unsafe_reset_all)

    Ben
    @benfen
    How do I initialize the tx-validation-app or chain-abci for the public testnet? The thalet testnet guide assumes that they are already compiled, which is why I was running through the getting started section.
    Tomas Tauber
    @tomtau
    Ben
    @benfen
    Well, I feel silly. Thanks for pointing that out! I'll give that a whirl and see what happens.
    Ben
    @benfen
    Yeah, that worked! Thanks again.
    Ben
    @benfen
    Is there any documentation for staking? The CLI documentation doesn't discuss it (https://crypto-com.github.io/wallets/client-cli.html#_3-staking-operations) and the general staking overview (https://crypto-com.github.io/getting-started/staking.html#account) is a little vague.
    Tomas Tauber
    @tomtau
    @benfen no problem, I'm glad it worked in the end!
    @benfen the version 0.0 supports transactions that can operate on stake (depositing new stake, unbonding stake, withdrawing stake) -- I guess the best description is here: https://crypto-com.github.io/getting-started/send_your_first_transaction.html#types-of-transaction-and-address
    Tomas Tauber
    @tomtau
    @benfen but other than that, there's not much in the version 0.0 -- in the unreleased version 0.1 (current master in the repo), there's more functionality related to staking, but it's still in progress. Once that's done and tested in the upcoming weeks, we'll update the documentation with more details
    vlddm
    @vlddm
    How much storage space and ram currently needed to run testnet node?
    Tomas Tauber
    @tomtau
    @vlddm nothing special -- with say 8GB RAM and SSD (perhaps around 30GB free space reserved), it should be good for performance and long term operation... as of now, it takes less than 500MB RAM and 2 GB disk space, so the minimal requirements are perhaps lower depending on the exact configuration (how one configures logging, instrumentation...)
    vlddm
    @vlddm
    @tomtau thx, and speaking about SGX, will it work on KVM VDS or it needs to be dedicated server? Some additional drivers needed?
    Tomas Tauber
    @tomtau
    @vlddm no experience with KVM VDS, but one needs to enable SGX support on the host (usually in BIOS settings) + a kernel support -- this can be done by installing the SGX driver: https://01.org/intel-software-guard-extensions/downloads sgx_linux_x64_driver_2.6.0_4f5bb63.bin ... the SGX "device" (/dev/isgx) from this driver could then be exposed from the host / hypervisor to VMs or containers
    vlddm
    @vlddm
    can you advice some baremetal hosters that provide SGX-enabled hardware? Looks like its quite tricky to find out if its available. Any info about Hetzner EX servers?
    Tomas Tauber
    @tomtau
    @vlddm step 0. links a repo that has information about vendors: https://crypto-com.github.io/getting-started/thaler-testnet.html
    Tomas Tauber
    @tomtau
    Hetzner EX seems to offer servers with i7 Skylake or Coffee Lake which supports SGX -- not sure whether activated in BIOS, but perhaps you can ask them
    vlddm
    @vlddm
    looks like SGX also needs motherboard support, not sure if its exists on Gigabyte B360 HD3P provided by hetzner
    Tomas Tauber
    @tomtau
    @vlddm if the motherboard can host the post-2015 Intel CPUs, they generally have SGX options in BIOS... the only difference is that some may have "Enabled" as an option in BIOS, others may have "Software Controlled" in which case one may need to go through an extra hoop: https://github.com/intel/linux-sgx/issues/354#issuecomment-447961815
    vlddm
    @vlddm

    Got a error when trying to launch tendermint node:

    E[2019-12-02|10:25:46.742] Error dialing seed                           module=p2p err="auth failure: secret conn failed: challenge verification failed" seed=cfd434eda488695d6c5ef164117283b7c3306ab3@40.71.91.141:26656
    E[2019-12-02|10:25:46.749] Error dialing seed                           module=p2p err="auth failure: secret conn failed: challenge verification failed" seed=2236d9cb6be9fd1ceb85b4be9bfce811478fcfd3@13.69.24.163:26656
    E[2019-12-02|10:25:46.754] Error dialing seed                           module=p2p err="auth failure: secret conn failed: challenge verification failed" seed=fad802ea87e0ef2cc0d70aa66a1bbf4730bf47b7@40.118.7.174:26656
    E[2019-12-02|10:25:46.917] Error dialing seed                           module=p2p err="auth failure: secret conn failed: challenge verification failed" seed=50269518a4c8ee22d95e5f79f9d85bb7dafde861@40.71.91.144:26656
    E[2019-12-02|10:25:46.917] Couldn't connect to any seeds

    ./tx-validation-app and ./chain-abci seems working fine

    vlddm
    @vlddm
    no luck, still same errors. Looks like problem is not nodes
    Tomas Tauber
    @tomtau
    @vlddm it could be caused by a bunch of things: firewall settings on that machine or on the router, older tendermint version, ... you can get more detailed logging with --log_level=debugon tendermint.
    vlddm
    @vlddm
    my tendermint version is 0.32.8-c066b393, firewall is off. No interesting info in debug output
    vlddm
    @vlddm
    ok its syncing now, looks like problem was with tendermint version: master is not working, release 0.32.8 working fine
    is it possible to became a validator in Thaler?
    Tomas Tauber
    @tomtau
    @vlddm great it's working
    Tomas Tauber
    @tomtau

    is it possible to became a validator in Thaler?

    Not in the currently deployed 0.0.3 version -- there's 0.1 in the works and it allows a dynamic validator set... it'll hopefully be released later this month (altogether with updated https://crypto-com.github.io) and the public testnet will switch to it soon after