GithubHelp home page GithubHelp logo

sentinel-official / hub Goto Github PK

View Code? Open in Web Editor NEW
71.0 8.0 38.0 5.21 MB

The official Sentinel Hub blockchain

Home Page: https://sentinel.co

License: Apache License 2.0

Makefile 0.29% Go 99.61% Shell 0.02% Dockerfile 0.08%
dvpn sentinel vpn dapp decentralized tendermint cosmos-sdk privacy blockchain

hub's Introduction

Sentinel Hub

Codecov CodeQL Go GoReport Licence Tag TotalLines

For documentation click here

hub's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hub's Issues

Error on Installation Linux Mint

Describe the bug
Installation don't can be startet

To Reproduce
Only download and try to install

Expected behavior
Error Message: Abhängigkeiten nicht erfüllbar: libgconf2-4

Screenshots
grafik

Desktop (please complete the following information):

  • OS: [Linux Mint]
  • Version [Kernel 5.8.0-53]

make: *** [Makefile:43: mod-vendor] Error 127

build failed on clean ubuntu 20.04 machine.
go version go1.17.3 linux/amd64


/src/github.com/sentinel-official/hub# make install --debug
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
 File 'install' does not exist.
   File 'mod-vendor' does not exist.
     File 'tools' does not exist.
    Must remake target 'tools'.
    Successfully remade target file 'tools'.
  Must remake target 'mod-vendor'.
/bin/sh: 1: modvendor: not found
make: *** [Makefile:43: mod-vendor] Error 127

Lack of seeds

Describe the bug
To join a network, people need seeds or peers, and currently there are none to be found.

To Reproduce
Join the testnet

Expected behavior
Seeds should be front and center in readme.md and they should later be baked directly into the binary.

minimum deposit required for a proposal

Describe the bug
The mindeposit on the gov module required for a proposal to enter the voting period should be 512tsent, but with this ammount sent to the proposal, continues in Deposit Period.

To Reproduce
Sending the the minimum amount for the deposit period to pass, the proposal remains in the deposit period, you can found the proposal here with the min amount to proposal goes to voting period.

Expected behavior
If the minimum amount of 512tsent is reached, the process should enter the voting period.

Screenshots
prop512

  • Version:
name: sentinel-hub
server_name: sentinel-hubd
client_name: sentinel-hub-cli
version: 0.3.3
commit: 706826e957c761409060ba17e25ad6854f4c50dd
build_tags: netgo,ledger

Note to Validators

Hi,

I'm operating a relayer. If you are operating a validator, it is very important that you:

systemctl enable systemd-timesyncd

please.

If you do not, there are time drift errors, and well, the Hermes default of five seconds is really pretty generous. We should be less than five seconds apart.

Potential overflow/denial of service in provider plan creation

Describe the bug
Right now the MsgPlanAdd generates the ID based on the count of plans in the keeper.

ID: count + 1,

uint64 limit is 18446744073709551615 so still quite hard to reach under standard circumstances, but still possible.

To Reproduce
The max throughput I'm able to reach is 8000 MsgPlanAdd per tx, which will cause an overflow in about 70k years. So not an urgent issue

Expected behavior
I suggest to let the client choose the plan-id and change the type from uint64 to string, using uuidv4. I can work on a PR if makes sense

Additional context
v0.3.3

can't install sentinel hub software

can't install sentinel hub software by following official manual
https://github.com/sentinel-official/docs/blob/master/guides/testnets/turing-3/SETUP.md#step-2---installing-the-sentinel-hub-software

go get -u -d github.com/sentinel-official/hub

cannot find package "github.com/gogo/protobuf/grpc" in any of:
	/usr/lib/go/src/github.com/gogo/protobuf/grpc (from $GOROOT)
	/home/sent/go/src/github.com/gogo/protobuf/grpc (from $GOPATH)
cannot find package "github.com/cosmos/cosmos-sdk/x/supply" in any of:
	/usr/lib/go/src/github.com/cosmos/cosmos-sdk/x/supply (from $GOROOT)
	/home/sent/go/src/github.com/cosmos/cosmos-sdk/x/supply (from $GOPATH)
cannot find package "github.com/tendermint/tendermint/libs/bech32" in any of:
	/usr/lib/go/src/github.com/tendermint/tendermint/libs/bech32 (from $GOROOT)
	/home/sent/go/src/github.com/tendermint/tendermint/libs/bech32 (from $GOPATH)
cannot find package "github.com/cosmos/cosmos-sdk/client/context" in any of:
	/usr/lib/go/src/github.com/cosmos/cosmos-sdk/client/context (from $GOROOT)
	/home/sent/go/src/github.com/cosmos/cosmos-sdk/client/context (from $GOPATH)
cannot find package "github.com/cosmos/cosmos-sdk/x/auth/client/utils" in any of:
	/usr/lib/go/src/github.com/cosmos/cosmos-sdk/x/auth/client/utils (from $GOROOT)
	/home/sent/go/src/github.com/cosmos/cosmos-sdk/x/auth/client/utils (from $GOPATH)
cannot find package "github.com/tendermint/tendermint/libs/common" in any of:
	/usr/lib/go/src/github.com/tendermint/tendermint/libs/common (from $GOROOT)
	/home/sent/go/src/github.com/tendermint/tendermint/libs/common (from $GOPATH)

** OS ubuntu 18.04

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.