GithubHelp home page GithubHelp logo

bcgo's People

Contributors

stuartmscott avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

Forkers

winksaville

bcgo's Issues

Cannot init because of missing peer file

Init fails because of a missing peer file;

DEBUG=true ./bc/bcclientgo-linux-arm5 init
2019/07/14 00:58:04 client.go:991: Root Directory: /home/stuartscott/bc
2019/07/14 00:58:04 client.go:998: Cache Directory: /home/stuartscott/bc/cache
2019/07/14 00:58:04 client.go:1009: Could not get network peers:open /home/stuartscott/bc/test-peers: no such file or directory

This should not be a fatal error and should instead print a warning before returning an empty slice.

ReadDelimitedProtobuf slice bounds out of range

ReadDelimitedProtobuf hits slice bounds out of range if protobuf is small enough to fit entirely in size buffer;

Apr 09 16:16:28 bc-sfo2-01 bcservergo-linux-amd64[1466]: 2019/04/09 16:16:28 bcutils.go:883: n 32 size 3 s 1 count 31
Apr 09 16:16:28 bc-sfo2-01 bcservergo-linux-amd64[1466]: panic: runtime error: slice bounds out of range
Apr 09 16:16:28 bc-sfo2-01 bcservergo-linux-amd64[1466]: goroutine 41 [running]:
Apr 09 16:16:28 bc-sfo2-01 bcservergo-linux-amd64[1466]: github.com/AletheiaWareLLC/bcgo.ReadDelimitedProtobuf(0xc00006ef68, 0x878fa0, 0xc0000d4700, 0x780920, 0x1)
Apr 09 16:16:28 bc-sfo2-01 bcservergo-linux-amd64[1466]:         /Users/stuartscott/Documents/Projects/Go/src/github.com/AletheiaWareLLC/bcgo/bcutils.go:885 +0x7db

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.