Giter Site home page Giter Site logo

dawn-network / dawn Goto Github PK

View Code? Open in Web Editor NEW
46.0 15.0 6.0 2.72 MB

global hosting, financial automation, server-less web components

Go 99.57% Dockerfile 0.43%
tendermint blockchain network p2p webtorrent decentralized community dawn hashes cosmos

dawn's Introduction

dawn: upgrade everything

We have made a router, the Dawn R1, which happens to handily double as a computer which is equipped with an Amlogic S922x CPU and adequate RAM and SSD storage. This router makes an ideal development setup and comes pre-stocked with an opinionated golang development environment. Developers do not need this router to participate, however fresh developers and experts alike will appreciate its isolated development environment that allows for fast, known-good development against our stack. If you've any questions about the router or would like to buy one (sold at cost to developers who have made code commits to our projects) please contact Jacob Gadikian at [email protected].

Open Source [Open source] can change the world for the better. Drug patents are morally bankrupt. The time it takes to copy a product is more than enough time for any exclusivity: Patent and copyright laws were made in the 1800s and a spineless, cowardly American government too focused on warfare abroad to even be capable of ensuring the well-being of its own people, let alone anyone else's has tried to make its copyright agenda the global norm. And that should be fine with you-- if you're Coca-Cola, or Microsoft, or Google, or Facebook, or Apple, or Michael Jackons's heirs. But you're not any of those (even if you're on the board of one of the entities I named)-- you are YOU. So-- when's the last time copyright/patent law did anything good for YOU? Copyrights that were intended to last for no longer than seven years now last 25 years longer than the author's lifespan. There is absolutley no way that patents and copyrights aren't holding back the pace of innovation. This is 100% open source software. We're working very hard to ship it on 100% open source hardware, but things are so far gone that isn't even possible for our first revision, despite our efforts to do so.

dawn's People

Contributors

baabeetaa avatar elpinyeknom avatar faddat avatar

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

Watchers

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

dawn's Issues

storeHeight & stateHeight does not match

NOTE[02-01|16:24:00] ABCI Handshake                           module=state appHeight=210486 appHash=0A2973AF199B84C07933D58A5A89422228FF4399
NOTE[02-01|16:24:00] ABCI Replay Blocks                       module=state appHeight=210486 storeHeight=210488 stateHeight=210487
panic: Paniced on a Sanity Check: Expected storeHeight (210488) and stateHeight (210487) to match.

goroutine 1 [running]:
panic(0x9a58c0, 0xc4203ceec0)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-common.PanicSanity(0x9a58c0, 0xc4203ceea0)
	/root/GOPATH/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-common/errors.go:26 +0xe0
github.com/tendermint/tendermint/state.(*Handshaker).ReplayBlocks(0xc4200b7500, 0xc4201898a0, 0x14, 0x14, 0x33636, 0xea4f60, 0xc4203cea50, 0x14, 0x14)
	/root/GOPATH/src/github.com/tendermint/tendermint/state/execution.go:400 +0xda2
github.com/tendermint/tendermint/state.(*Handshaker).Handshake(0xc4200b7500, 0xea62a0, 0xc42007e1b0, 0x0, 0x0)
	/root/GOPATH/src/github.com/tendermint/tendermint/state/execution.go:329 +0x483
github.com/tendermint/tendermint/proxy.(*multiAppConn).OnStart(0xc42007e1b0, 0xc420189320, 0x15)
	/root/GOPATH/src/github.com/tendermint/tendermint/proxy/multi_app_conn.go:100 +0x206
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-common.(*BaseService).Start(0xc42007e1b0, 0x0, 0x0, 0x0)
	/root/GOPATH/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-common/service.go:96 +0x546
github.com/tendermint/tendermint/node.NewNode(0xea6e20, 0xc420109ce0, 0xc420081ea0, 0xe99640, 0xc4201531d0, 0x0)
	/root/GOPATH/src/github.com/tendermint/tendermint/node/node.go:68 +0x483
github.com/tendermint/tendermint/node.NewNodeDefault(0xea6e20, 0xc420109ce0, 0x1)
	/root/GOPATH/src/github.com/tendermint/tendermint/node/node.go:51 +0xba
github.com/tendermint/tendermint/node.RunNode(0xea6e20, 0xc420109ce0)
	/root/GOPATH/src/github.com/tendermint/tendermint/node/node.go:350 +0x529
main.main()
	/root/GOPATH/src/github.com/tendermint/tendermint/cmd/tendermint/main.go:42 +0x373

Minor Inqueries

image

'you' should mean [use] I believe..

image

I am confused by the context of the text here... I understand it wants me to create some sort of secret code...but it just says 'bases (misspelled, should be "based") on your secret'

.... i think it would be better to say something like [ Generate a Keypair by creating a Public Key and Private Key... Create your Private Key by entering it below or clicking the following link http://passwordsgenerator.net/ ]

image

This is also petty, but I think the words should have spaces between them like in the menu log you created below

image

Also in regards to this picture, I think minimized options are nice... as in if you are logged in it is automatically detected and you only have the logout option or vice versa...

Anyways, everything is looking sweet, cheers for creating this!!!

get onto standard tendermint coin deployment if possible

TM has baseconin, which implements all of the fancy IBC, etc stuff that tendermint is known for. Probably we will want to look at the github.com/tendermint/basecoin-examples repository and make some changes to ours.

I wish I could say which changes-- there's not enough hours in the day!

Le Grand Refactor

From #10 --

Looking at the fragmented design I'd planned on I'm wondering if electron may be best for web/mobile/desktop. Trouble is that I never like the way it performs on any platform. That said, it will let us write most things once, instead of re-implementing, so-- how about we do electron, and later do go/qt? Currently no webtorrent support in go, which is another roadblock that is tough but not that tough to surmount.

Electron for:
Desktop + Mobile (based on @feross's webtorrent-desktop

Javascript for:
Web

Later, we should consider moving to flutter for mobile (but what about webtorrent and dart?) and go-qt for desktop.

Front End Decisions

Since we want to ensure that we effectively bridge the bittorrent and webtorrent torrent protocols, we need to distribute a desktop client.

Tuan says that right now we should be looking at:

  • electron

    • webtorrent-desktop is an elecron-based cross-platform desktop application that fits the bill nicely. I'm guessing that it could be made to show a user's content feed.
  • ionic

    • Ionic is typescript so at the least that means we have to do type definitions for webtorrent in order to use it.
  • react-native

    • When @Ozzadar used this to make a mobile app it came out so good he called me. I hear it's pretty different, though. @ekitcho used react to make busy.org. I've bandied about in my mind the idea of trying to contract with their team.

Jake wants to add to the "watched" list:

  • flutter
    • Write native mobile apps in dart. Doesn't have a webtorrent library yet, unless dart can import js.

Golang build tooling sucks!

So I never understood that too well till now. And now I understand it all too well.

I'm sure that this is just a result of different versions in different places.

root@two ~/.gvm/pkgsets/go1.8/global/src/github.com/dawn-network/glogchain # go build .
# github.com/tendermint/tendermint/proxy
../../tendermint/tendermint/proxy/app_conn.go:143: cannot use tx (type []byte) as type "github.com/tendermint/tendermint/vendor/github.com/tendermint/abci/types".RequestQuery in argument to app.appConn.QuerySync
../../tendermint/tendermint/proxy/app_conn.go:143: too many arguments to return
	have ("github.com/tendermint/tendermint/vendor/github.com/tendermint/abci/types".ResponseQuery, error)
	want ("github.com/tendermint/tendermint/vendor/github.com/tendermint/abci/types".Result)
../../tendermint/tendermint/proxy/client.go:77: cannot use nilapp.NewNilApplication() (type *nilapp.NilApplication) as type "github.com/tendermint/tendermint/vendor/github.com/tendermint/abci/types".Application in argument to NewLocalClientCreator:
	*nilapp.NilApplication does not implement "github.com/tendermint/tendermint/vendor/github.com/tendermint/abci/types".Application (missing BeginBlock method)

Software packaging and updates for validators

This started its life as a terrible issue. It was unclear for sure. Basically what I was asking Tuan initially was if he felt that I should package the two pieces of a tendermint blockchain app in a single container ("Tendermint" + the app itself) or have them in two containers, which are linked.

....but he's now got Tendermint in the codebase as a library for the app, so that is not necessary-- the app can be distributed as a single binary.

....but the questions remain about how to package this despite that. There are also questions that come up as a result of scaling a chain like this, and of course, that pesky speed of light.

when I install tendermint, do a tendermint init, and then launch glogchain, I get

Tendermint Output

[faddat@arch-anywhere][~/go/src/github.com/tendermint/tendermint]% tendermint node
NOTE[11-21|19:47:15] Loaded PrivValidator                     module=types file=/home/faddat/.tendermint/priv_validator.json privValidator="PrivValidator{36BD9963BDAD663FD8938683758AB33B2D7D1283 LH:0, LR:0, LS:0}"
WARN[11-21|19:47:15] tmsp.socketClient failed to connect to tcp://127.0.0.1:46658.  Retrying... module=tmspcli
WARN[11-21|19:47:18] tmsp.socketClient failed to connect to tcp://127.0.0.1:46658.  Retrying... module=tmspcli
WARN[11-21|19:47:21] tmsp.socketClient failed to connect to tcp://127.0.0.1:46658.  Retrying... module=tmspcli
WARN[11-21|19:47:24] tmsp.socketClient failed to connect to tcp://127.0.0.1:46658.  Retrying... module=tmspcli
WARN[11-21|19:47:27] tmsp.socketClient failed to connect to tcp://127.0.0.1:46658.  Retrying... module=tmspcli
WARN[11-21|19:47:30] tmsp.socketClient failed to connect to tcp://127.0.0.1:46658.  Retrying... module=tmspcli
WARN[11-21|19:47:33] Stopping tmsp.socketClient for error: Unexpected result type <nil> when nothing expected module=tmspcli
WARN[11-21|19:47:33] Stopping tmsp.socketClient for error: Unexpected result type <nil> when nothing expected module=tmspcli
WARN[11-21|19:47:33] Stopping tmsp.socketClient for error: Unexpected result type <nil> when nothing expected module=tmspcli
panic: Paniced on a Crisis: listen tcp 0.0.0.0:46656: bind: address already in use

goroutine 1 [running]:
panic(0x95f080, 0xc42011e2c0)
	/usr/lib/go/src/runtime/panic.go:500 +0x1a1
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-common.PanicCrisis(0x9a1a60, 0xc42005d180)
	/home/faddat/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-common/errors.go:33 +0xe0
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.NewDefaultListener(0xc420163380, 0x3, 0xc420163386, 0xd, 0xc420163300, 0xd, 0xc42011ea30)
	/home/faddat/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/listener.go:66 +0x81f
github.com/tendermint/tendermint/node.RunNode(0xe220a0, 0xc420163580)
	/home/faddat/go/src/github.com/tendermint/tendermint/node/node.go:346 +0x60c
main.main()
	/home/faddat/go/src/github.com/tendermint/tendermint/cmd/tendermint/main.go:42 +0x373

glogchain output

2016/11/21 19:47:33 transport: http2Server.HandleStreams failed to receive the preface from client: EOF
2016/11/21 19:47:33 transport: http2Server.HandleStreams failed to receive the preface from client: EOF
2016/11/21 19:47:33 transport: http2Server.HandleStreams failed to receive the preface from client: EOF
^Ccaptured interrupt, exiting...

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.