Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 11:31
    codecov[bot] commented #1500
  • 11:31
    popzxc synchronize #1500
  • 11:29
  • 11:17
    popzxc edited #1500
  • 11:17
    codecov[bot] commented #1500
  • 11:17
    popzxc synchronize #1500
  • 11:15
    codecov[bot] commented #1501
  • 10:31
    codecov[bot] commented #1501
  • 10:31
    pavel-mukhanov synchronize #1501
  • 10:28
    pavel-mukhanov edited #1501
  • 10:27
  • 10:17
    alekseysidorov synchronize #146
  • 10:08
    alekseysidorov synchronize #146
  • 10:08
    alekseysidorov synchronize #146
  • 10:08
    alekseysidorov synchronize #146
  • 10:08
    alekseysidorov synchronize #146
  • 10:04
    codecov[bot] commented #1501
  • 10:00
  • 09:52
    alekseysidorov synchronize #146
  • 09:45
    codecov[bot] commented #1501
Dean Harry
@dharry1968
@ivan-ochc currently 512mb - i'll increase it to 2gb and see how it goes...
Dean Harry
@dharry1968
@ivan-ochc thanks for the assist - that got it working :)
Yu
@Fatman13
Hello Exonum team, is there any way to quickly bootstrap a key value pair storage blockchain project?
A minimal barebone example?
Dean Harry
@dharry1968
@ivan-ochc how much memory do you think is required to run the cryptocurrency example? It seems to compile for quite a while and then errors with: INFO 2019-08-22T13:01:02Z: rustc::traits::error_reporting: skipping ErrorDescriptor { predicate: Binder(TraitPredicate(<[type error] as std::marker::Sized>)),index: Some(2) } (implied by ErrorDescriptor { predicate: Binder(TraitPredicate(<[type error] as std::marker::Sized>)), index: Some(0) }) not sure if this is a memory issue or not?
ivan-ochc
@ivan-ochc
@dharry1968, what version of Rust do you use?
ivan-ochc
@ivan-ochc
Dean Harry
@dharry1968
@ivan-ochc Rust version is 1.37.0
Dean Harry
@dharry1968
@ivan-ochc all working now - just had a typo :)
zakum1
@zakum1

hello, i have a network that was running fine, but after a node crashed, i have not been able to get the nodes to connect again and continue the consensus process. I copied the same database to all nodes and then restarted the nodes without changing any configuration. All of the nodes show that they have no peer connections and that they are all "stuck" on the same block at which the crash happened (and all services seem fine, except adding new blocks).

I see no errors in the logs:

2019-08-27T06:46:19.126874355+00:00 INFO exonum::node - Start listening address=0.0.0.0:2000
2019-08-27T06:46:19.127217461+00:00 INFO exonum::node - Trying to connect with peer cd1e92cd...
2019-08-27T06:46:19.127347439+00:00 INFO exonum::node - Trying to connect with peer 6b6c3ad6...
2019-08-27T06:46:19.127534210+00:00 INFO exonum::node - Jump to round 2

If I use the same configuration and same nodes, but start with an empty database then everything works fine (the nodes connect and create new blocks). Do you know any cause of why the nodes would not connect after a restart?

The peers on all nodes show:
curl 'http://localhost:8010/api/system/v1/peers'
{"incoming_connections":[],"outgoing_connections":{}}
ivan-ochc
@ivan-ochc
@zakum1, hi. what kind of node crash did you have?
zakum1
@zakum1
@ivan-ochc one of the servers became unresponsive (on AWS) - I had to reboot the server - to be sure, i copied across a database from another node in case it was corrupt
now i have an identical database on all nodes
ivan-ochc
@ivan-ochc
@zakum1, do you have node log from the crashed server?
zakum1
@zakum1
@ivan-ochc i don't unfortunately
zakum1
@zakum1
@ivan-ochc is there an easy way for me to start a new network and then replay the transactions?
ivan-ochc
@ivan-ochc
@zakum1, if briefly, there is no easy way
ivan-ochc
@ivan-ochc
@zakum1, regarding your first question: does AWS network settings remain the same after reboot?
zakum1
@zakum1
yes, i have static IP on the servers
@ivan-ochc and in my config, i reference the server using its DNS
which did not change
ivan-ochc
@ivan-ochc
@zakum1, It would be great to provide the following data to figure out what is wrong:
  • reason why AWS server become unresponsive
  • node log at the moment of AWS failure
Elena Buzovska
@Buzovska
Exonum version 0.12 brings even more efficiency to blockchain applications. Read about this version update on our blog: https://medium.com/meetbitfury/exonum-v-0-12-is-out-simplified-bootstrapping-and-improved-storage-e1d173cc93ff
zakum1
@zakum1
@ivan-ochc, sorry i couldn't recover the log files and could not see why the AWS server was unresponsive. Thanks for your help. If it happens again, I will endeavour to get the logs
zakum1
@zakum1

Another question please, I currently don't use the helper / fabric bootstrap for creating services in my application. But, to add the configuration service without using the helpers does not seem possible:

let services: Vec<Box<dyn Service>> = vec![
    Box::new(configuration::Service { config: configuration::ConfigurationServiceConfig { majority_count: Some(3) } }),
]:

I get:

struct `ConfigurationServiceConfig` is private

Is this way of creating services directly from my own configuration not supported anymore? Is it possible to make ConfigurationServiceConfig public?

Oleksandr Anyshchenko
@aleksuss
@zakum1 Have you done it before ? The config module and ConfigurationServiceConfig struct are private https://github.com/exonum/exonum/blob/master/services/configuration/src/lib.rs#L102 And I can't remember when it has been public.
zakum1
@zakum1
@aleksuss i still create my services using the approach before the helper module was added. i have never needed the configuration service, but now i do, so it is not the case that I have experienced a change. i guess that one simple answer is for me to upgrade to use the helpers to bootstrap my network, but i just want to make sure that this is currently the only supported way to use the configuration service (or maybe i missed something)
Yu
@Fatman13
Hello is clang-7 specific to Ubuntu 18 and higher?
mine weren't able to locate package clang-7
Oleksandr Anyshchenko
@aleksuss
@zakum1 There is only one way to use the configuration service is to use the helper module. And this is a correct way. Do you have any problems with that ?
ivan-ochc
@ivan-ochc
@Fatman13, yes, you are right.
@Fatman13, you have to use Ubuntu 18 to install clang 7
Oleksandr Anyshchenko
@aleksuss
Yu
@Fatman13
Got it. thank you!
Oleksandr Anyshchenko
@aleksuss
@Fatman13 By the way you can just run sudo apt install clang you will get a last version of clang that distributive supports.
Yu
@Fatman13
Would it still work?
Oleksandr Anyshchenko
@aleksuss
Yes. It should
Yu
@Fatman13
kk Thank you!
Oleksandr Anyshchenko
@aleksuss
You are welcome
zakum1
@zakum1
@aleksuss sorry for the late reply. i wrote my app before the helpers and haven't migrated it to that framework. i will do it. thanks for your answer
Yu
@Fatman13
Hello, team, if data belong to single entity is changed multiple times on blockchain, how should we retrieve the latest copy of such data?
Yu
@Fatman13
best practice wise
@aleksuss
Anthony Albertorio
@tesla809
Hello!
Who would I talk to about using Exonum in a hackathon?
Sponsorships and all that
Elena Buzovska
@Buzovska
@tesla809 Hello Anthony! Feel free to email me at olena.buzovska@bitfury.com
Elena Buzovska
@Buzovska
We released version 0.8 of our Exonum Java Binding, along with updated documentation. Exonum Java now fully supports the 0.12 version of Exonum core version. Learn more on our website! https://exonum.com/doc/version/0.12/get-started/java-binding/
Elena Buzovska
@Buzovska
@/all Join our Oct. 16 developer webinar to learn how to build an e-auction service with Exonum! It's a great opportunity to understand how blockchain can work in the real world. Register now for free! https://bitfury.zoom.us/webinar/register/6315689822497/WN_pZf4qC9YQWKrm_6poKyzIA