Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
1b2d549
fix flaky agreement test: make sortition deterministic
Vervious Jun 12, 2019
76d2a7e
Merge pull request #2 from Vervious/ben/flakytest
Vervious Jun 12, 2019
f677d38
fix ledger ErrNoEntry issue due to sqlite (#6)
zeldovich Jun 12, 2019
53e59ac
switch RPM to use dedicated rpm@algorand.com key (#11)
algobolson Jun 13, 2019
6535597
mark conffiles as such in debian and rpm packages (#10)
zeldovich Jun 13, 2019
f1af13d
make ledger.ErrNoEntry more informative (#3)
zeldovich Jun 13, 2019
37f42dd
cleanup Gopkg.toml based on suggestions from "dep ensure" (#4)
zeldovich Jun 13, 2019
788cbc0
websocket: terminate flushThread on Close() without writeTimeout (#5)
zeldovich Jun 13, 2019
d3e0e34
[GOAL2-769] Fix update script for joining mainnet (#9)
Jun 13, 2019
188e1b9
skip flakey test (#13)
algobolson Jun 13, 2019
689c0c2
goal clerk inspect: print msig PKs using base32+checksum (#16)
zeldovich Jun 13, 2019
e61ca70
Specify what version of go we use in the README. (#17)
winder Jun 13, 2019
e91385f
Disable failing test, and re-enable integration stage. (#14)
winder Jun 13, 2019
49c6194
fix filter for next round period 0 votes
Vervious Jun 13, 2019
aa2ec68
run make lint
Vervious Jun 13, 2019
a89961c
Check and return error in AlgorandFullNode::BroadcastSignedTxn (#26)
EvanJRichard Jun 14, 2019
dde4f1b
Describe how to report vulnerabilities in CONTRIBUTING.md. (#22)
derbear Jun 14, 2019
e4dc33a
goal clerk inspect: more base32+checksum fixes (#24)
zeldovich Jun 14, 2019
15708a6
Add .gitattributes file (#29)
algoradam Jun 14, 2019
979da1a
Support streaming in the coroner debug tool. (#33)
derbear Jun 14, 2019
02ae086
Tools for working with relay registration
Jun 15, 2019
a9f0b8f
Completed CHECK functionality
Jun 15, 2019
e8640b2
Implemented update, fixed issues, ran it!
Jun 15, 2019
7b2547b
Catchup: avoid retrying unless previous block was retrieved. (#31)
tsachiherman Jun 17, 2019
909b436
GOAL account export. Clarify info messages for seed import/export. (#36)
EvanJRichard Jun 18, 2019
35dbd7d
Updated configure_dev to include libtool, autoconf, and automake. (#42)
egieseke Jun 18, 2019
a1c864a
Enhance NodeExporterPath JSON option to pass additional node_exporte…
jecassis Jun 18, 2019
7da2e2a
Add Origin: and Label: fields to Debian package releases (#39)
jecassis Jun 18, 2019
3c4897f
sendReceive_tests move more money. (#25)
EvanJRichard Jun 18, 2019
c218e36
Switch default genesis.json file to mainnet (#46)
Jun 18, 2019
3f3b54b
build refinements 20190617 (#44)
algobolson Jun 18, 2019
0d9b7c1
check fewer rounds in ledger.TestArchival to speed it up (#28)
zeldovich Jun 18, 2019
0da21b4
Skip relays that aren't validated
Jun 18, 2019
f346d3f
Add GitHub templates. (#48)
winder Jun 18, 2019
72e90ac
Don't report error if metrics not enabled and shouldn't be
Jun 18, 2019
a1adb69
skip flaky test (#45)
algobolson Jun 18, 2019
794d777
[GOAL2-698] support configurable telemetry credentials. (#27)
egieseke Jun 18, 2019
c84729e
Fix copy/paste error in promote_stable script. (#52)
winder Jun 19, 2019
ea85541
[GOAL2-731] Better slow peers disconnection logic (#15)
tsachizehub Jun 19, 2019
f4e6f22
Merge branch 'master' into nextvotefiltering
Vervious Jun 19, 2019
1a60faf
fix max truncation bug in auction use of TransactionsByAddr() (#61)
zeldovich Jun 19, 2019
6cbbcda
print expected outcomes hash in auctionminion (#64)
zeldovich Jun 19, 2019
ece2bbb
[GOAL2-796] re-enable firstvalid and lastvalid for goal clerk (#55)
EvanJRichard Jun 20, 2019
0e9aa9e
[GOAL2-782] Export DNS configuration (#43)
tsachizehub Jun 20, 2019
d2da8a6
Add metrics to heartbeat event. (#7)
winder Jun 20, 2019
9e7f2b7
Clean up code
Jun 20, 2019
1b642f4
Updating the docker file to work (#53)
zacharyestep Jun 20, 2019
14fdf0b
yum-cron runs hourly, don't random sleep more than 60 minutes (#68)
algobolson Jun 20, 2019
1e099cf
[GOAL2-614] Updated algoh to capture algod logs on early termination …
egieseke Jun 20, 2019
845c028
Merge remote-tracking branch 'upstream/master' into nextvotefiltering
Vervious Jun 20, 2019
1cb4f71
Call voteStepFresh to add FPR check.
Vervious Jun 20, 2019
c05b79d
Merge pull request #62 from Vervious/nextvotefiltering
Vervious Jun 20, 2019
5588d0b
Fix TestDBConcurrencyRW test to run on Macs
Jun 20, 2019
ccd3a77
Fixed lint
Jun 20, 2019
a70c6f3
Merge pull request #70 from algorand/david/fixMacTests
Jun 20, 2019
6ab212a
-- Changing encoding of expected hash value to Base32
algorotem Jun 21, 2019
bd13fe0
Merge branch 'master' into ExpectedHashB32
algorotem Jun 21, 2019
f41aa9b
Skip unit test TestFirstListenerSetupGetsPort8080WhenPassedPortZero …
tsachizehub Jun 21, 2019
b0ffe82
Minor cleanup (#72)
winder Jun 21, 2019
f105c21
Fix flushThread starting bug. (#75)
tsachiherman Jun 21, 2019
db5c6d5
Merge pull request #71 from rotemh/ExpectedHashB32
algorotem Jun 22, 2019
5ad68d2
Merge pull request #66 from algorand/david/ebRelays
Jun 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
crypto/libsodium-fork/* linguist-vendored
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: '🐜 Bug report'
about: 'Report a reproducible bug.'
title: ''
labels: 'new-bug'
---
<!--
NOTE: If this issue relates to security, please use the vulnerability disclosure form here:
https://www.algorand.com/resources/blog/security

General, developer or support questions concerning Algorand should be directed to the Algorand Forums https://forum.algorand.org/.
-->

### Subject of the issue
Describe your issue here.

### Your environment
* Software version: `algod -v`
* Node status if applicable: `goal node status`
* Operating System details.
* In many cases log files and cadaver files are also useful to include. Since these files may be large, an Algorand developer may request them later. These files may include public addresses that you're participating with. If that is a concern please be sure to scrub that data.

### Steps to reproduce
Tell us how to reproduce this issue.

### Expected behaviour
Tell us what should happen

### Actual behaviour
Tell us what happens instead
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: '🔔 Feature Request'
about: 'Suggestions for how we can improve the algorand platform.'
title: ''
labels: 'new-feature-request'
---
<!--
NOTE: If this issue relates to security, please use the vulnerability disclosure form here:
https://www.algorand.com/resources/blog/security

General, developer or support questions concerning Algorand should be directed to the Algorand Forums https://forum.algorand.org/.
-->

<!--
This project is focused on low level platform concerns. A good feature request would be related
to protocol and network usage, debugging and monitoring tools, and goal commands.

Higher level suggestions relating to layer 2 applications (like wallet apps) are not appropriate here.
-->
**Is your feature request related to a problem? Please describe.**

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**

A clear and concise description of what you want to happen.

**Additional context**

Add any other context or screenshots about the feature request here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: '❓ Question'
about: 'General questions related to the algorand platform.'
title: ''
labels: 'question'
---
<!--
NOTE: If this issue relates to security, please use the vulnerability disclosure form here:
https://www.algorand.com/resources/blog/security

This issue tracker is not appropriate for most questions.
If your question does not involve a compiler it probably shouldn't be asked here.

General, developer or support questions concerning Algorand should be directed to the Algorand Forums https://forum.algorand.org/.

Additional information is available here: https://developer.algorand.org/
-->
23 changes: 23 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!--
Thanks for submitting a pull request! We appreciate the time and effort you spent to get this far.

If you haven't already, please make sure that you've reviewed the CONTRIBUTING guide:
https://github.com/algorand/go-algorand/blob/master/CONTRIBUTING.md#code-guidelines

In particular ensure that you've run the following:
* make generate
* make sanity (which runs make fmt, make lint, make fix and make vet)

It is also a good idea to run tests:
* make test
* make integration
-->

## Summary

Explain the goal of this change and what problem it is solving.

## Test Plan

How did you test these changes? Please provide the exact scenarios you tested in as much detail as possible including commands, output and rationale.

28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,26 @@ jobs:
script:
- scripts/travis/build.sh || travis_terminate 1;
- travis_wait 90 scripts/travis/test.sh
# - # same stage, parallel job
# os: linux
# env:
# - BUILD_TYPE: "integration"
# script:
# - scripts/travis/build.sh || travis_terminate 1;
# - travis_wait 90 scripts/travis/test.sh
- # same stage, parallel job
os: linux
env:
- BUILD_TYPE: "integration"
script:
- scripts/travis/build.sh || travis_terminate 1;
- travis_wait 90 scripts/travis/test.sh

- stage: build_release
os: linux
script:
- scripts/travis/build.sh || travis_terminate 1;
- travis_wait 90 scripts/travis/test.sh
# - # same stage, parallel job
# os: linux
# env:
# - BUILD_TYPE: "integration"
# script:
# - scripts/travis/build.sh || travis_terminate 1;
# - travis_wait 90 scripts/travis/test.sh
- # same stage, parallel job
os: linux
env:
- BUILD_TYPE: "integration"
script:
- scripts/travis/build.sh || travis_terminate 1;
- travis_wait 90 scripts/travis/test.sh
- # same stage, parallel job
os: osx
script:
Expand Down
20 changes: 16 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,33 @@ The algorand project is composed of several repositories on GitHub. Specifically

# Filing Issues

Did you discover a bug? Do you have a feature request? Filing issues is an easy way anyone can contribute and helps us improve Algorand. We use GitHub Issues to track all known bugs and feature requests.
Did you discover a bug? Do you have a feature request? Filing issues is an easy way anyone can contribute and helps us improve Algorand. We use GitHub Issues to track all known bugs and feature requests.

Before logging an issue be sure to check current issues, verify that your [node is synced](https://developer.algorand.org/docs/introduction-installing-node#sync-node), check the [Developer Frequently Asked Questions](https://developer.algorand.org/docs/developer-faq) and [GitHub issues][issues_url] to see if your issue is described there.

If you’d like to contribute to any of the repositories, please file a [GitHub issue][issues_url] using the issues menu item. Make sure to specify whether you are describing a bug or a new enhancement using the **Bug report** or **Feature request** button.

See the GitHub help guide for more information on [filing an issue](https://help.github.com/en/articles/creating-an-issue)
See the GitHub help guide for more information on [filing an issue](https://help.github.com/en/articles/creating-an-issue).

## Vulnerabilities

Please don't create issues for any security vulnerabilities. Instead, we would appreciate it if you reported them through our [vulnerability disclosure form][vuln_url]. This allows us to distribute a fix before the vulnerability is exploited.

Additionally, if you believe that you've discovered a security vulnerability, you might qualify for our bug bounty program. Visit our [bug bounty site][bug_bounty_url] for details.

If you have any questions, don't hesitate to contact us at security@algorand.com.

# Contribution Model

For each of our repositories we use the same model for contributing code. Developers wanting to contribute must create pull requests. This process is described in the GitHub [Creating a pull request from a fork](https://help.github.com/en/articles/creating-a-pull-request-from-a-fork) documentation. Each pull request should be initiated against the master branch in the Algorand repository. After a pull request is submitted the core development team will review the submission and communicate with the developer using the comments sections of the PR. After the submission is reviewed and approved, it will be merged into the master branch of the source. These changes will be merged to our release branch on the next viable release date. For the SDKs, this may be immediate. Changes to the node software may take more time as we must ensure and verify the security, as well as apply protocol upgrades in an orderly way.

Again, if you have a patch for a critical security vulnerability, please use our [vulnerability disclosure form][vuln_url] instead of creating a PR. We'll follow up with you on distributing the patch before we merge it.

# Code Guidelines

For Go code we use the [Golang guidelines defined here](https://golang.org/doc/effective_go.html)
For Go code we use the [Golang guidelines defined here](https://golang.org/doc/effective_go.html).
* Code must adhere to the official Go formatting guidelines (i.e. uses gofmt).
* We use **gofmt** and **golint**. Also make sure to run `make fix` and `make generate` before opening a pull request.
* We use **gofmt** and **golint**. Also make sure to run `make sanity` and `make generate` before opening a pull request.
* Code must be documented adhering to the official Go commentary guidelines.

For JavaScript code we use the [MDN formatting rules](https://developer.mozilla.org/en-US/docs/MDN/Contribute/Guidelines/Code_guidelines/JavaScript).
Expand All @@ -34,3 +44,5 @@ For Java code we use [Oracle’s standard formatting rules for Java](https://www
The core development team monitors the Algorand community forums and regularly responds to questions and suggestions. Issues and Pull Requests are handled on GitHub.

[issues_url]: https://github.com/algorand/go-algorand/issues
[vuln_url]: https://www.algorand.com/resources/blog/security
[bug_bounty_url]: https://bugcrowd.com/algorand
4 changes: 2 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

[[prune.project]]
name = "github.com/karalabe/hid"
non-go = false
unused-packages = false

# The current version of logrus, v1.2.0, implements UnmarshalText but not MarshalText.
Expand Down Expand Up @@ -75,10 +74,6 @@
name = "github.com/jmoiron/sqlx"
version = "1.2.0"

[[constraint]]
name = "gopkg.in/yaml.v2"
version = "2.2.2"

[[constraint]]
name = "github.com/algorand/websocket"
branch = "master"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Our [developer website][developer site url] has the most up to date information

## Building from source ##

Development is done using the [Go Programming Language](https://golang.org/), and this document assumes that you have a functioning environment setup. If you need assistance setting up an environment please visit the [official Go documentation website](https://golang.org/doc/).
Development is done using the [Go Programming Language](https://golang.org/) version 1.12.x, and this document assumes that you have a functioning environment setup. If you need assistance setting up an environment please visit the [official Go documentation website](https://golang.org/doc/).

### Linux / OSX ###

Expand Down
4 changes: 2 additions & 2 deletions agreement/actor.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ type ioLoggedActor struct {

func (l ioLoggedActor) handle(h routerHandle, e event) []action {
if l.tracer.level >= top {
fmt.Printf("%23v => %23v: %v\n", "", l.T(), e)
fmt.Fprintf(l.tracer.w, "%23v => %23v: %v\n", "", l.T(), e)
}
a := l.checkedActor.handle(h, e)
if l.tracer.level >= top {
fmt.Printf("%23v <= %23v: %v\n", "", l.T(), a)
fmt.Fprintf(l.tracer.w, "%23v <= %23v: %v\n", "", l.T(), a)
}
return a
}
Loading