Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Merge pull request #828 from NebulousLabs/version
Browse files Browse the repository at this point in the history
bump version to v0.4.7
  • Loading branch information
DavidVorick committed Oct 29, 2015
2 parents 187a044 + aa62ecd commit 1996b8f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -52,7 +52,7 @@ release-std: REBUILD
# Cross Compile - makes binaries for windows, linux, and mac, 32 and 64 bit.
xc: dependencies test test-long REBUILD
goxc -arch="386 amd64 arm" -bc="darwin linux windows" -d=release \
-pv=v0.4.6 -br=beta -include=LICENSE,README.md,doc/API.md \
-pv=v0.4.7 -br=beta -include=LICENSE,README.md,doc/API.md \
-main-dirs-exclude=siae -tasks-=deb,deb-dev,deb-source,go-test \
-n=Sia

Expand Down
5 changes: 4 additions & 1 deletion README.md
@@ -1,4 +1,4 @@
Sia 0.4.6
Sia 0.4.7
=========

[![Build Status](https://travis-ci.org/NebulousLabs/Sia.svg?branch=master)](https://travis-ci.org/NebulousLabs/Sia)
Expand Down Expand Up @@ -144,6 +144,9 @@ Version History

October 2015:

v0.4.7 (patch)
- Dropped support for v0.3.3.x

v0.4.6 (patch)
- Removed over-agressive consistency check

Expand Down
2 changes: 1 addition & 1 deletion build/version.go
Expand Up @@ -6,7 +6,7 @@ import (
)

// Version is the current version of siad.
const Version = "0.4.6"
const Version = "0.4.7"

// IsVersion returns whether str is a valid version number.
func IsVersion(str string) bool {
Expand Down
3 changes: 1 addition & 2 deletions modules/transactionpool.go
Expand Up @@ -17,8 +17,7 @@ var (
ErrLargeTransactionSet = errors.New("transaction set is too large for this transaction pool")
ErrInvalidArbPrefix = errors.New("transaction contains non-standard arbitrary data")

PrefixNonSia = types.Specifier{'N', 'o', 'n', 'S', 'i', 'a'}
PrefixStrNonSia = "NonSia" // COMPATv0.3.3.3
PrefixNonSia = types.Specifier{'N', 'o', 'n', 'S', 'i', 'a'}

TransactionPoolDir = "transactionpool"
)
Expand Down
7 changes: 0 additions & 7 deletions modules/transactionpool/standard.go
Expand Up @@ -2,7 +2,6 @@ package transactionpool

import (
"errors"
"strings"

"github.com/NebulousLabs/Sia/encoding"
"github.com/NebulousLabs/Sia/modules"
Expand Down Expand Up @@ -106,12 +105,6 @@ func (tp *TransactionPool) IsStandardTransaction(t types.Transaction) error {
continue
}

// COMPATv0.3.3.3 - deprecated whitelisted prefixes.
strData := string(arb)
if strings.HasPrefix(strData, modules.PrefixStrNonSia) {
continue
}

return modules.ErrInvalidArbPrefix
}
return nil
Expand Down

0 comments on commit 1996b8f

Please sign in to comment.