♻️ Refactor to OrgName

This commit is contained in:
phearzero 2017-10-02 14:35:22 -05:00
parent 56c58342f5
commit 4fd88de718
532 changed files with 2007 additions and 2007 deletions

View file

@ -2,7 +2,7 @@
Before you do a feature request please check and make sure that it isn't possible Before you do a feature request please check and make sure that it isn't possible
through some other means. The JavaScript enabled console is a powerful feature through some other means. The JavaScript enabled console is a powerful feature
in the right hands. Please check our [Bitchin' tricks](https://github.com/burnout/go-burnout/wiki/bitchin-tricks) wiki page for more info in the right hands. Please check our [Bitchin' tricks](https://github.com/burnoutcoin/go-burnout/wiki/bitchin-tricks) wiki page for more info
and help. and help.
## Contributing ## Contributing
@ -11,6 +11,6 @@ If you'd like to contribute to go-burnout please fork, fix, commit and
send a pull request. Commits which do not comply with the coding standards send a pull request. Commits which do not comply with the coding standards
are ignored (use gofmt!). are ignored (use gofmt!).
See [Developers' Guide](https://github.com/burnout/go-burnout/wiki/Developers'-Guide) See [Developers' Guide](https://github.com/burnoutcoin/go-burnout/wiki/Developers'-Guide)
for more details on configuring your environment, testing, and for more details on configuring your environment, testing, and
dependency management. dependency management.

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "tests"] [submodule "tests"]
path = tests/testdata path = tests/testdata
url = https://github.com/burnout/tests url = https://github.com/burnoutcoin/tests

View file

@ -1,5 +1,5 @@
language: go language: go
go_import_path: github.com/burnout/go-burnout go_import_path: github.com/burnoutcoin/go-burnout
sudo: false sudo: false
matrix: matrix:
include: include:
@ -68,7 +68,7 @@ matrix:
- fakeroot - fakeroot
script: script:
# Build for the primary platforms that Trusty can manage # Build for the primary platforms that Trusty can manage
- go run build/ci.go debsrc -signer "Go Burnout Linux Builder <geth-ci@burnout.org>" -upload ppa:burnout/burnout - go run build/ci.go debsrc -signer "Go Burnout Linux Builder <geth-ci@burnoutcoin.org>" -upload ppa:burnout/burnout
- go run build/ci.go install - go run build/ci.go install
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds - go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- go run build/ci.go install -arch 386 - go run build/ci.go install -arch 386

View file

@ -4,16 +4,16 @@ Official golang implementation of the Burnout protocol.
[![API Reference]( [![API Reference](
https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667 https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667
)](https://godoc.org/github.com/burnout/go-burnout) )](https://godoc.org/github.com/burnoutcoin/go-burnout)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/burnout/go-burnout?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/burnoutcoin/go-burnout?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
Automated builds are available for stable releases and the unstable master branch. Automated builds are available for stable releases and the unstable master branch.
Binary archives are published at https://geth.burnout.org/downloads/. Binary archives are published at https://geth.burnoutcoin.org/downloads/.
## Building the source ## Building the source
For prerequisites and detailed build instructions please read the For prerequisites and detailed build instructions please read the
[Installation Instructions](https://github.com/burnout/go-burnout/wiki/Building-Burnout) [Installation Instructions](https://github.com/burnoutcoin/go-burnout/wiki/Building-Burnout)
on the wiki. on the wiki.
Building geth requires both a Go (version 1.7 or later) and a C compiler. Building geth requires both a Go (version 1.7 or later) and a C compiler.
@ -32,8 +32,8 @@ The go-burnout project comes with several wrappers/executables found in the `cmd
| Command | Description | | Command | Description |
|:----------:|-------------| |:----------:|-------------|
| **`geth`** | Our main Burnout CLI client. It is the entry point into the Burnout network (main-, test- or private net), capable of running as a full node (default) archive node (retaining all historical state) or a light node (retrieving data live). It can be used by other processes as a gateway into the Burnout network via JSON RPC endpoints exposed on top of HTTP, WebSocket and/or IPC transports. `geth --help` and the [CLI Wiki page](https://github.com/burnout/go-burnout/wiki/Command-Line-Options) for command line options. | | **`geth`** | Our main Burnout CLI client. It is the entry point into the Burnout network (main-, test- or private net), capable of running as a full node (default) archive node (retaining all historical state) or a light node (retrieving data live). It can be used by other processes as a gateway into the Burnout network via JSON RPC endpoints exposed on top of HTTP, WebSocket and/or IPC transports. `geth --help` and the [CLI Wiki page](https://github.com/burnoutcoin/go-burnout/wiki/Command-Line-Options) for command line options. |
| `abigen` | Source code generator to convert Burnout contract definitions into easy to use, compile-time type-safe Go packages. It operates on plain [Burnout contract ABIs](https://github.com/burnout/wiki/wiki/Burnout-Contract-ABI) with expanded functionality if the contract bytecode is also available. However it also accepts Solidity source files, making development much more streamlined. Please see our [Native DApps](https://github.com/burnout/go-burnout/wiki/Native-DApps:-Go-bindings-to-Burnout-contracts) wiki page for details. | | `abigen` | Source code generator to convert Burnout contract definitions into easy to use, compile-time type-safe Go packages. It operates on plain [Burnout contract ABIs](https://github.com/burnout/wiki/wiki/Burnout-Contract-ABI) with expanded functionality if the contract bytecode is also available. However it also accepts Solidity source files, making development much more streamlined. Please see our [Native DApps](https://github.com/burnoutcoin/go-burnout/wiki/Native-DApps:-Go-bindings-to-Burnout-contracts) wiki page for details. |
| `bootnode` | Stripped down version of our Burnout client implementation that only takes part in the network node discovery protocol, but does not run any of the higher level application protocols. It can be used as a lightweight bootstrap node to aid in finding peers in private networks. | | `bootnode` | Stripped down version of our Burnout client implementation that only takes part in the network node discovery protocol, but does not run any of the higher level application protocols. It can be used as a lightweight bootstrap node to aid in finding peers in private networks. |
| `evm` | Developer utility version of the EVM (Burnout Virtual Machine) that is capable of running bytecode snippets within a configurable environment and execution mode. Its purpose is to allow insolated, fine-grained debugging of EVM opcodes (e.g. `evm --code 60ff60ff --debug`). | | `evm` | Developer utility version of the EVM (Burnout Virtual Machine) that is capable of running bytecode snippets within a configurable environment and execution mode. Its purpose is to allow insolated, fine-grained debugging of EVM opcodes (e.g. `evm --code 60ff60ff --debug`). |
| `gethrpctest` | Developer utility tool to support our [burnout/rpc-test](https://github.com/burnout/rpc-tests) test suite which validates baseline conformity to the [Burnout JSON RPC](https://github.com/burnout/wiki/wiki/JSON-RPC) specs. Please see the [test suite's readme](https://github.com/burnout/rpc-tests/blob/master/README.md) for details. | | `gethrpctest` | Developer utility tool to support our [burnout/rpc-test](https://github.com/burnout/rpc-tests) test suite which validates baseline conformity to the [Burnout JSON RPC](https://github.com/burnout/wiki/wiki/JSON-RPC) specs. Please see the [test suite's readme](https://github.com/burnout/rpc-tests/blob/master/README.md) for details. |
@ -44,7 +44,7 @@ The go-burnout project comes with several wrappers/executables found in the `cmd
## Running geth ## Running geth
Going through all the possible command line flags is out of scope here (please consult our Going through all the possible command line flags is out of scope here (please consult our
[CLI Wiki page](https://github.com/burnout/go-burnout/wiki/Command-Line-Options)), but we've [CLI Wiki page](https://github.com/burnoutcoin/go-burnout/wiki/Command-Line-Options)), but we've
enumerated a few common parameter combos to get you up to speed quickly on how you can run your enumerated a few common parameter combos to get you up to speed quickly on how you can run your
own Geth instance. own Geth instance.
@ -66,9 +66,9 @@ This command will:
* Bump the memory allowance of the database to 512MB (`--cache=512`), which can help significantly in * Bump the memory allowance of the database to 512MB (`--cache=512`), which can help significantly in
sync times especially for HDD users. This flag is optional and you can set it as high or as low as sync times especially for HDD users. This flag is optional and you can set it as high or as low as
you'd like, though we'd recommend the 512MB - 2GB range. you'd like, though we'd recommend the 512MB - 2GB range.
* Start up Geth's built-in interactive [JavaScript console](https://github.com/burnout/go-burnout/wiki/JavaScript-Console), * Start up Geth's built-in interactive [JavaScript console](https://github.com/burnoutcoin/go-burnout/wiki/JavaScript-Console),
(via the trailing `console` subcommand) through which you can invoke all official [`web3` methods](https://github.com/burnout/wiki/wiki/JavaScript-API) (via the trailing `console` subcommand) through which you can invoke all official [`web3` methods](https://github.com/burnout/wiki/wiki/JavaScript-API)
as well as Geth's own [management APIs](https://github.com/burnout/go-burnout/wiki/Management-APIs). as well as Geth's own [management APIs](https://github.com/burnoutcoin/go-burnout/wiki/Management-APIs).
This too is optional and if you leave it out you can always attach to an already running Geth instance This too is optional and if you leave it out you can always attach to an already running Geth instance
with `geth attach`. with `geth attach`.
@ -135,7 +135,7 @@ This will start geth in fast sync mode with a DB memory allowance of 512MB just
As a developer, sooner rather than later you'll want to start interacting with Geth and the Burnout As a developer, sooner rather than later you'll want to start interacting with Geth and the Burnout
network via your own programs and not manually through the console. To aid this, Geth has built in network via your own programs and not manually through the console. To aid this, Geth has built in
support for a JSON-RPC based APIs ([standard APIs](https://github.com/burnout/wiki/wiki/JSON-RPC) and support for a JSON-RPC based APIs ([standard APIs](https://github.com/burnout/wiki/wiki/JSON-RPC) and
[Geth specific APIs](https://github.com/burnout/go-burnout/wiki/Management-APIs)). These can be [Geth specific APIs](https://github.com/burnoutcoin/go-burnout/wiki/Management-APIs)). These can be
exposed via HTTP, WebSockets and IPC (unix sockets on unix based platforms, and named pipes on Windows). exposed via HTTP, WebSockets and IPC (unix sockets on unix based platforms, and named pipes on Windows).
The IPC interface is enabled by default and exposes all the APIs supported by Geth, whereas the HTTP The IPC interface is enabled by default and exposes all the APIs supported by Geth, whereas the HTTP
@ -275,7 +275,7 @@ anyone on the internet, and are grateful for even the smallest of fixes!
If you'd like to contribute to go-burnout, please fork, fix, commit and send a pull request If you'd like to contribute to go-burnout, please fork, fix, commit and send a pull request
for the maintainers to review and merge into the main code base. If you wish to submit more for the maintainers to review and merge into the main code base. If you wish to submit more
complex changes though, please check up with the core devs first on [our gitter channel](https://gitter.im/burnout/go-burnout) complex changes though, please check up with the core devs first on [our gitter channel](https://gitter.im/burnoutcoin/go-burnout)
to ensure those changes are in line with the general philosophy of the project and/or get some to ensure those changes are in line with the general philosophy of the project and/or get some
early feedback which can make both your efforts much lighter as well as our review and merge early feedback which can make both your efforts much lighter as well as our review and merge
procedures quick and simple. procedures quick and simple.
@ -288,7 +288,7 @@ Please make sure your contributions adhere to our coding guidelines:
* Commit messages should be prefixed with the package(s) they modify. * Commit messages should be prefixed with the package(s) they modify.
* E.g. "brn, rpc: make trace configs optional" * E.g. "brn, rpc: make trace configs optional"
Please see the [Developers' Guide](https://github.com/burnout/go-burnout/wiki/Developers'-Guide) Please see the [Developers' Guide](https://github.com/burnoutcoin/go-burnout/wiki/Developers'-Guide)
for more details on configuring your environment, managing project dependencies and testing procedures. for more details on configuring your environment, managing project dependencies and testing procedures.
## License ## License

View file

@ -23,7 +23,7 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
// The ABI holds information about a contract's context and available // The ABI holds information about a contract's context and available

View file

@ -25,8 +25,8 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
) )
// formatSilceOutput add padding to the value and adds a size // formatSilceOutput add padding to the value and adds a size

View file

@ -22,10 +22,10 @@ import (
"io" "io"
"io/ioutil" "io/ioutil"
"github.com/burnout/go-burnout/accounts/keystore" "github.com/burnoutcoin/go-burnout/accounts/keystore"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
) )
// NewTransactor is a utility method to easily create a transaction signer from // NewTransactor is a utility method to easily create a transaction signer from

View file

@ -21,9 +21,9 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/burnout/go-burnout" "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
) )
var ( var (
@ -49,7 +49,7 @@ type ContractCaller interface {
CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
// ContractCall executes an Burnout contract call with the specified data as the // ContractCall executes an Burnout contract call with the specified data as the
// input. // input.
CallContract(ctx context.Context, call burnout.CallMsg, blockNumber *big.Int) ([]byte, error) CallContract(ctx context.Context, call burnoutcoin.CallMsg, blockNumber *big.Int) ([]byte, error)
} }
// DeployBackend wraps the operations needed by WaitMined and WaitDeployed. // DeployBackend wraps the operations needed by WaitMined and WaitDeployed.
@ -65,7 +65,7 @@ type PendingContractCaller interface {
// PendingCodeAt returns the code of the given account in the pending state. // PendingCodeAt returns the code of the given account in the pending state.
PendingCodeAt(ctx context.Context, contract common.Address) ([]byte, error) PendingCodeAt(ctx context.Context, contract common.Address) ([]byte, error)
// PendingCallContract executes an Burnout contract call against the pending state. // PendingCallContract executes an Burnout contract call against the pending state.
PendingCallContract(ctx context.Context, call burnout.CallMsg) ([]byte, error) PendingCallContract(ctx context.Context, call burnoutcoin.CallMsg) ([]byte, error)
} }
// ContractTransactor defines the methods needed to allow operating with contract // ContractTransactor defines the methods needed to allow operating with contract
@ -85,7 +85,7 @@ type ContractTransactor interface {
// There is no guarantee that this is the true gas limit requirement as other // There is no guarantee that this is the true gas limit requirement as other
// transactions may be added or removed by miners, but it should provide a basis // transactions may be added or removed by miners, but it should provide a basis
// for setting a reasonable default. // for setting a reasonable default.
EstimateGas(ctx context.Context, call burnout.CallMsg) (usedGas *big.Int, err error) EstimateGas(ctx context.Context, call burnoutcoin.CallMsg) (usedGas *big.Int, err error)
// SendTransaction injects the transaction into the pending pool for execution. // SendTransaction injects the transaction into the pending pool for execution.
SendTransaction(ctx context.Context, tx *types.Transaction) error SendTransaction(ctx context.Context, tx *types.Transaction) error
} }

View file

@ -24,17 +24,17 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout" "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/accounts/abi/bind" "github.com/burnoutcoin/go-burnout/accounts/abi/bind"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/math" "github.com/burnoutcoin/go-burnout/common/math"
"github.com/burnout/go-burnout/consensus/ethash" "github.com/burnoutcoin/go-burnout/consensus/ethash"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/state" "github.com/burnoutcoin/go-burnout/core/state"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/core/vm" "github.com/burnoutcoin/go-burnout/core/vm"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
) )
// This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend. // This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend.
@ -157,7 +157,7 @@ func (b *SimulatedBackend) PendingCodeAt(ctx context.Context, contract common.Ad
} }
// CallContract executes a contract call. // CallContract executes a contract call.
func (b *SimulatedBackend) CallContract(ctx context.Context, call burnout.CallMsg, blockNumber *big.Int) ([]byte, error) { func (b *SimulatedBackend) CallContract(ctx context.Context, call burnoutcoin.CallMsg, blockNumber *big.Int) ([]byte, error) {
b.mu.Lock() b.mu.Lock()
defer b.mu.Unlock() defer b.mu.Unlock()
@ -173,7 +173,7 @@ func (b *SimulatedBackend) CallContract(ctx context.Context, call burnout.CallMs
} }
// PendingCallContract executes a contract call on the pending state. // PendingCallContract executes a contract call on the pending state.
func (b *SimulatedBackend) PendingCallContract(ctx context.Context, call burnout.CallMsg) ([]byte, error) { func (b *SimulatedBackend) PendingCallContract(ctx context.Context, call burnoutcoin.CallMsg) ([]byte, error) {
b.mu.Lock() b.mu.Lock()
defer b.mu.Unlock() defer b.mu.Unlock()
defer b.pendingState.RevertToSnapshot(b.pendingState.Snapshot()) defer b.pendingState.RevertToSnapshot(b.pendingState.Snapshot())
@ -199,7 +199,7 @@ func (b *SimulatedBackend) SuggestGasPrice(ctx context.Context) (*big.Int, error
// EstimateGas executes the requested code against the currently pending block/state and // EstimateGas executes the requested code against the currently pending block/state and
// returns the used amount of gas. // returns the used amount of gas.
func (b *SimulatedBackend) EstimateGas(ctx context.Context, call burnout.CallMsg) (*big.Int, error) { func (b *SimulatedBackend) EstimateGas(ctx context.Context, call burnoutcoin.CallMsg) (*big.Int, error) {
b.mu.Lock() b.mu.Lock()
defer b.mu.Unlock() defer b.mu.Unlock()
@ -235,7 +235,7 @@ func (b *SimulatedBackend) EstimateGas(ctx context.Context, call burnout.CallMsg
// callContract implemens common code between normal and pending contract calls. // callContract implemens common code between normal and pending contract calls.
// state is modified during execution, make sure to copy it if necessary. // state is modified during execution, make sure to copy it if necessary.
func (b *SimulatedBackend) callContract(ctx context.Context, call burnout.CallMsg, block *types.Block, statedb *state.StateDB) ([]byte, *big.Int, bool, error) { func (b *SimulatedBackend) callContract(ctx context.Context, call burnoutcoin.CallMsg, block *types.Block, statedb *state.StateDB) ([]byte, *big.Int, bool, error) {
// Ensure message is initialized properly. // Ensure message is initialized properly.
if call.GasPrice == nil { if call.GasPrice == nil {
call.GasPrice = big.NewInt(1) call.GasPrice = big.NewInt(1)
@ -305,7 +305,7 @@ func (b *SimulatedBackend) AdjustTime(adjustment time.Duration) error {
// callmsg implements core.Message to allow passing it as a transaction simulator. // callmsg implements core.Message to allow passing it as a transaction simulator.
type callmsg struct { type callmsg struct {
burnout.CallMsg burnoutcoin.CallMsg
} }
func (m callmsg) From() common.Address { return m.CallMsg.From } func (m callmsg) From() common.Address { return m.CallMsg.From }

View file

@ -22,11 +22,11 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/burnout/go-burnout" "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/accounts/abi" "github.com/burnoutcoin/go-burnout/accounts/abi"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
) )
// SignerFn is a signer function callback when a contract requires a method to // SignerFn is a signer function callback when a contract requires a method to
@ -109,7 +109,7 @@ func (c *BoundContract) Call(opts *CallOpts, result interface{}, method string,
return err return err
} }
var ( var (
msg = burnout.CallMsg{From: opts.From, To: &c.address, Data: input} msg = burnoutcoin.CallMsg{From: opts.From, To: &c.address, Data: input}
ctx = ensureContext(opts.Context) ctx = ensureContext(opts.Context)
code []byte code []byte
output []byte output []byte
@ -199,7 +199,7 @@ func (c *BoundContract) transact(opts *TransactOpts, contract *common.Address, i
} }
} }
// If the contract surely has code (or code is not needed), estimate the transaction // If the contract surely has code (or code is not needed), estimate the transaction
msg := burnout.CallMsg{From: opts.From, To: contract, Value: value, Data: input} msg := burnoutcoin.CallMsg{From: opts.From, To: contract, Value: value, Data: input}
gasLimit, err = c.transactor.EstimateGas(ensureContext(opts.Context), msg) gasLimit, err = c.transactor.EstimateGas(ensureContext(opts.Context), msg)
if err != nil { if err != nil {
return nil, fmt.Errorf("failed to estimate gas needed: %v", err) return nil, fmt.Errorf("failed to estimate gas needed: %v", err)

View file

@ -17,7 +17,7 @@
// Package bind generates Burnout contract Go bindings. // Package bind generates Burnout contract Go bindings.
// //
// Detailed usage document and tutorial available on the go-burnout Wiki page: // Detailed usage document and tutorial available on the go-burnout Wiki page:
// https://github.com/burnout/go-burnout/wiki/Native-DApps:-Go-bindings-to-Burnout-contracts // https://github.com/burnoutcoin/go-burnout/wiki/Native-DApps:-Go-bindings-to-Burnout-contracts
package bind package bind
import ( import (
@ -28,7 +28,7 @@ import (
"text/template" "text/template"
"unicode" "unicode"
"github.com/burnout/go-burnout/accounts/abi" "github.com/burnoutcoin/go-burnout/accounts/abi"
"golang.org/x/tools/imports" "golang.org/x/tools/imports"
) )

File diff suppressed because one or more lines are too long

View file

@ -16,7 +16,7 @@
package bind package bind
import "github.com/burnout/go-burnout/accounts/abi" import "github.com/burnoutcoin/go-burnout/accounts/abi"
// tmplData is the data structure required to fill the binding template. // tmplData is the data structure required to fill the binding template.
type tmplData struct { type tmplData struct {
@ -274,8 +274,8 @@ const tmplSourceJava = `
package {{.Package}}; package {{.Package}};
import org.burnout.geth.*; import org.burnoutcoin.geth.*;
import org.burnout.geth.internal.*; import org.burnoutcoin.geth.internal.*;
{{range $contract := .Contracts}} {{range $contract := .Contracts}}
public class {{.Type}} { public class {{.Type}} {

View file

@ -21,9 +21,9 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
) )
// WaitMined waits for tx to be mined on the blockchain. // WaitMined waits for tx to be mined on the blockchain.

View file

@ -22,12 +22,12 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/accounts/abi/bind" "github.com/burnoutcoin/go-burnout/accounts/abi/bind"
"github.com/burnout/go-burnout/accounts/abi/bind/backends" "github.com/burnoutcoin/go-burnout/accounts/abi/bind/backends"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
) )
var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")

View file

@ -20,8 +20,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
) )
// Event is an event potentially triggered by the EVM's LOG mechanism. The Event // Event is an event potentially triggered by the EVM's LOG mechanism. The Event

View file

@ -20,8 +20,8 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
) )
func TestEventId(t *testing.T) { func TestEventId(t *testing.T) {

View file

@ -21,7 +21,7 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
) )
// Callable method given a `Name` and whether the method is a constant. // Callable method given a `Name` and whether the method is a constant.

View file

@ -20,8 +20,8 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/math" "github.com/burnoutcoin/go-burnout/common/math"
) )
var ( var (

View file

@ -20,8 +20,8 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/math" "github.com/burnoutcoin/go-burnout/common/math"
) )
// packBytesSlice packs the given bytes as [L, V] as the canonical representation // packBytesSlice packs the given bytes as [L, V] as the canonical representation

View file

@ -24,7 +24,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
func TestPack(t *testing.T) { func TestPack(t *testing.T) {

View file

@ -21,7 +21,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
// typeWithoutStringer is a alias for the Type type which simply doesn't implement // typeWithoutStringer is a alias for the Type type which simply doesn't implement

View file

@ -22,7 +22,7 @@ import (
"math/big" "math/big"
"reflect" "reflect"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
// toGoSliceType parses the input and casts it to the proper slice defined by the ABI // toGoSliceType parses the input and casts it to the proper slice defined by the ABI

View file

@ -24,7 +24,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
func TestSimpleMethodUnpack(t *testing.T) { func TestSimpleMethodUnpack(t *testing.T) {

View file

@ -20,10 +20,10 @@ package accounts
import ( import (
"math/big" "math/big"
burnout "github.com/burnout/go-burnout" burnoutcoin "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
) )
// Account represents an Burnout account located at a specific location defined // Account represents an Burnout account located at a specific location defined
@ -85,7 +85,7 @@ type Wallet interface {
// //
// You can disable automatic account discovery by calling SelfDerive with a nil // You can disable automatic account discovery by calling SelfDerive with a nil
// chain state reader. // chain state reader.
SelfDerive(base DerivationPath, chain burnout.ChainStateReader) SelfDerive(base DerivationPath, chain burnoutcoin.ChainStateReader)
// SignHash requests the wallet to sign the given hash. // SignHash requests the wallet to sign the given hash.
// //

View file

@ -28,9 +28,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
) )
// Minimum amount of time between cache reloads. This limit applies if the platform does // Minimum amount of time between cache reloads. This limit applies if the platform does

View file

@ -28,8 +28,8 @@ import (
"github.com/cespare/cp" "github.com/cespare/cp"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
var ( var (

View file

@ -29,9 +29,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/pborman/uuid" "github.com/pborman/uuid"
) )

View file

@ -33,11 +33,11 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
) )
var ( var (

View file

@ -35,10 +35,10 @@ import (
"io/ioutil" "io/ioutil"
"path/filepath" "path/filepath"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/math" "github.com/burnoutcoin/go-burnout/common/math"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/crypto/randentropy" "github.com/burnoutcoin/go-burnout/crypto/randentropy"
"github.com/pborman/uuid" "github.com/pborman/uuid"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
"golang.org/x/crypto/scrypt" "golang.org/x/crypto/scrypt"

View file

@ -20,7 +20,7 @@ import (
"io/ioutil" "io/ioutil"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
const ( const (

View file

@ -22,7 +22,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
type keyStorePlain struct { type keyStorePlain struct {

View file

@ -27,8 +27,8 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
) )
func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) { func tmpKeyStoreIface(t *testing.T, encrypted bool) (dir string, ks keyStore) {

View file

@ -26,9 +26,9 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
) )
var testSigData = make([]byte, 32) var testSigData = make([]byte, 32)

View file

@ -19,9 +19,9 @@ package keystore
import ( import (
"math/big" "math/big"
burnout "github.com/burnout/go-burnout" burnoutcoin "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
) )
// keystoreWallet implements the accounts.Wallet interface for the original // keystoreWallet implements the accounts.Wallet interface for the original
@ -76,7 +76,7 @@ func (w *keystoreWallet) Derive(path accounts.DerivationPath, pin bool) (account
// SelfDerive implements accounts.Wallet, but is a noop for plain wallets since // SelfDerive implements accounts.Wallet, but is a noop for plain wallets since
// there is no notion of hierarchical account derivation for plain keystore accounts. // there is no notion of hierarchical account derivation for plain keystore accounts.
func (w *keystoreWallet) SelfDerive(base accounts.DerivationPath, chain burnout.ChainStateReader) {} func (w *keystoreWallet) SelfDerive(base accounts.DerivationPath, chain burnoutcoin.ChainStateReader) {}
// SignHash implements accounts.Wallet, attempting to sign the given hash with // SignHash implements accounts.Wallet, attempting to sign the given hash with
// the given account. If the wallet does not wrap this particular account, an // the given account. If the wallet does not wrap this particular account, an

View file

@ -25,8 +25,8 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/pborman/uuid" "github.com/pborman/uuid"
"golang.org/x/crypto/pbkdf2" "golang.org/x/crypto/pbkdf2"
) )

View file

@ -21,7 +21,7 @@ package keystore
import ( import (
"time" "time"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/rjeczalik/notify" "github.com/rjeczalik/notify"
) )

View file

@ -21,7 +21,7 @@ import (
"sort" "sort"
"sync" "sync"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
) )
// Manager is an overarching account manager that can communicate with various // Manager is an overarching account manager that can communicate with various

View file

@ -22,9 +22,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/karalabe/hid" "github.com/karalabe/hid"
) )

View file

@ -28,12 +28,12 @@ import (
"io" "io"
"math/big" "math/big"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
) )
// ledgerOpcode is an enumeration encoding the supported Ledger opcodes. // ledgerOpcode is an enumeration encoding the supported Ledger opcodes.

View file

@ -27,12 +27,12 @@ import (
"io" "io"
"math/big" "math/big"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/accounts/usbwallet/internal/trezor" "github.com/burnoutcoin/go-burnout/accounts/usbwallet/internal/trezor"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )

View file

@ -25,11 +25,11 @@ import (
"sync" "sync"
"time" "time"
burnout "github.com/burnout/go-burnout" burnoutcoin "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/karalabe/hid" "github.com/karalabe/hid"
) )
@ -84,7 +84,7 @@ type wallet struct {
deriveNextPath accounts.DerivationPath // Next derivation path for account auto-discovery deriveNextPath accounts.DerivationPath // Next derivation path for account auto-discovery
deriveNextAddr common.Address // Next derived account address for auto-discovery deriveNextAddr common.Address // Next derived account address for auto-discovery
deriveChain burnout.ChainStateReader // Blockchain state reader to discover used account with deriveChain burnoutcoin.ChainStateReader // Blockchain state reader to discover used account with
deriveReq chan chan struct{} // Channel to request a self-derivation on deriveReq chan chan struct{} // Channel to request a self-derivation on
deriveQuit chan chan error // Channel to terminate the self-deriver with deriveQuit chan chan error // Channel to terminate the self-deriver with
@ -484,7 +484,7 @@ func (w *wallet) Derive(path accounts.DerivationPath, pin bool) (accounts.Accoun
// user used previously (based on the chain state), but ones that he/she did not // user used previously (based on the chain state), but ones that he/she did not
// explicitly pin to the wallet manually. To avoid chain head monitoring, self // explicitly pin to the wallet manually. To avoid chain head monitoring, self
// derivation only runs during account listing (and even then throttled). // derivation only runs during account listing (and even then throttled).
func (w *wallet) SelfDerive(base accounts.DerivationPath, chain burnout.ChainStateReader) { func (w *wallet) SelfDerive(base accounts.DerivationPath, chain burnoutcoin.ChainStateReader) {
w.stateLock.Lock() w.stateLock.Lock()
defer w.stateLock.Unlock() defer w.stateLock.Unlock()

View file

@ -1,7 +1,7 @@
os: Visual Studio 2015 os: Visual Studio 2015
# Clone directly into GOPATH. # Clone directly into GOPATH.
clone_folder: C:\gopath\src\github.com\burnout\go-burnout clone_folder: C:\gopath\src\github.com\burnoutcoin\go-burnout
clone_depth: 5 clone_depth: 5
version: "{branch}.{build}" version: "{branch}.{build}"
environment: environment:

View file

@ -28,7 +28,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/crypto/sha3" "github.com/burnoutcoin/go-burnout/crypto/sha3"
) )
const ( const (

View file

@ -28,19 +28,19 @@ import (
"strings" "strings"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/state" "github.com/burnoutcoin/go-burnout/core/state"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/core/vm" "github.com/burnoutcoin/go-burnout/core/vm"
"github.com/burnout/go-burnout/internal/ethapi" "github.com/burnoutcoin/go-burnout/internal/ethapi"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/miner" "github.com/burnoutcoin/go-burnout/miner"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
"github.com/burnout/go-burnout/trie" "github.com/burnoutcoin/go-burnout/trie"
) )
const defaultTraceTimeout = 5 * time.Second const defaultTraceTimeout = 5 * time.Second

View file

@ -20,20 +20,20 @@ import (
"context" "context"
"math/big" "math/big"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/math" "github.com/burnoutcoin/go-burnout/common/math"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/bloombits" "github.com/burnoutcoin/go-burnout/core/bloombits"
"github.com/burnout/go-burnout/core/state" "github.com/burnoutcoin/go-burnout/core/state"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/core/vm" "github.com/burnoutcoin/go-burnout/core/vm"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/brn/gasprice" "github.com/burnoutcoin/go-burnout/brn/gasprice"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
// EthApiBackend implements ethapi.Backend for full nodes // EthApiBackend implements ethapi.Backend for full nodes

View file

@ -21,9 +21,9 @@ import (
"testing" "testing"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/state" "github.com/burnoutcoin/go-burnout/core/state"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
) )
var dumper = spew.ConfigState{Indent: " "} var dumper = spew.ConfigState{Indent: " "}

View file

@ -25,29 +25,29 @@ import (
"sync" "sync"
"sync/atomic" "sync/atomic"
"github.com/burnout/go-burnout/accounts" "github.com/burnoutcoin/go-burnout/accounts"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/consensus" "github.com/burnoutcoin/go-burnout/consensus"
"github.com/burnout/go-burnout/consensus/clique" "github.com/burnoutcoin/go-burnout/consensus/clique"
"github.com/burnout/go-burnout/consensus/ethash" "github.com/burnoutcoin/go-burnout/consensus/ethash"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/bloombits" "github.com/burnoutcoin/go-burnout/core/bloombits"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/core/vm" "github.com/burnoutcoin/go-burnout/core/vm"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/brn/filters" "github.com/burnoutcoin/go-burnout/brn/filters"
"github.com/burnout/go-burnout/brn/gasprice" "github.com/burnoutcoin/go-burnout/brn/gasprice"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/internal/ethapi" "github.com/burnoutcoin/go-burnout/internal/ethapi"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/miner" "github.com/burnoutcoin/go-burnout/miner"
"github.com/burnout/go-burnout/node" "github.com/burnoutcoin/go-burnout/node"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
type LesServer interface { type LesServer interface {

View file

@ -20,13 +20,13 @@ import (
"context" "context"
"math/big" "math/big"
"github.com/burnout/go-burnout" "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/internal/ethapi" "github.com/burnoutcoin/go-burnout/internal/ethapi"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
// ContractBackend implements bind.ContractBackend with direct calls to Burnout // ContractBackend implements bind.ContractBackend with direct calls to Burnout
@ -65,7 +65,7 @@ func (b *ContractBackend) PendingCodeAt(ctx context.Context, contract common.Add
// ContractCall implements bind.ContractCaller executing an Burnout contract // ContractCall implements bind.ContractCaller executing an Burnout contract
// call with the specified data as the input. The pending flag requests execution // call with the specified data as the input. The pending flag requests execution
// against the pending block, not the stable head of the chain. // against the pending block, not the stable head of the chain.
func (b *ContractBackend) CallContract(ctx context.Context, msg burnout.CallMsg, blockNum *big.Int) ([]byte, error) { func (b *ContractBackend) CallContract(ctx context.Context, msg burnoutcoin.CallMsg, blockNum *big.Int) ([]byte, error) {
out, err := b.bcapi.Call(ctx, toCallArgs(msg), toBlockNumber(blockNum)) out, err := b.bcapi.Call(ctx, toCallArgs(msg), toBlockNumber(blockNum))
return out, err return out, err
} }
@ -73,12 +73,12 @@ func (b *ContractBackend) CallContract(ctx context.Context, msg burnout.CallMsg,
// ContractCall implements bind.ContractCaller executing an Burnout contract // ContractCall implements bind.ContractCaller executing an Burnout contract
// call with the specified data as the input. The pending flag requests execution // call with the specified data as the input. The pending flag requests execution
// against the pending block, not the stable head of the chain. // against the pending block, not the stable head of the chain.
func (b *ContractBackend) PendingCallContract(ctx context.Context, msg burnout.CallMsg) ([]byte, error) { func (b *ContractBackend) PendingCallContract(ctx context.Context, msg burnoutcoin.CallMsg) ([]byte, error) {
out, err := b.bcapi.Call(ctx, toCallArgs(msg), rpc.PendingBlockNumber) out, err := b.bcapi.Call(ctx, toCallArgs(msg), rpc.PendingBlockNumber)
return out, err return out, err
} }
func toCallArgs(msg burnout.CallMsg) ethapi.CallArgs { func toCallArgs(msg burnoutcoin.CallMsg) ethapi.CallArgs {
args := ethapi.CallArgs{ args := ethapi.CallArgs{
To: msg.To, To: msg.To,
From: msg.From, From: msg.From,
@ -124,7 +124,7 @@ func (b *ContractBackend) SuggestGasPrice(ctx context.Context) (*big.Int, error)
// the backend blockchain. There is no guarantee that this is the true gas limit // the backend blockchain. There is no guarantee that this is the true gas limit
// requirement as other transactions may be added or removed by miners, but it // requirement as other transactions may be added or removed by miners, but it
// should provide a basis for setting a reasonable default. // should provide a basis for setting a reasonable default.
func (b *ContractBackend) EstimateGas(ctx context.Context, msg burnout.CallMsg) (*big.Int, error) { func (b *ContractBackend) EstimateGas(ctx context.Context, msg burnoutcoin.CallMsg) (*big.Int, error) {
out, err := b.bcapi.EstimateGas(ctx, toCallArgs(msg)) out, err := b.bcapi.EstimateGas(ctx, toCallArgs(msg))
return out.ToInt(), err return out.ToInt(), err
} }

View file

@ -19,13 +19,13 @@ package brn
import ( import (
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/bitutil" "github.com/burnoutcoin/go-burnout/common/bitutil"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/bloombits" "github.com/burnoutcoin/go-burnout/core/bloombits"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
) )
const ( const (

View file

@ -23,12 +23,12 @@ import (
"path/filepath" "path/filepath"
"runtime" "runtime"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/brn/gasprice" "github.com/burnoutcoin/go-burnout/brn/gasprice"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
) )
// DefaultConfig contains default settings for use on the Burnout main net. // DefaultConfig contains default settings for use on the Burnout main net.

View file

@ -21,11 +21,11 @@ import (
"bytes" "bytes"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
) )
var deduplicateData = []byte("dbUpgrade_20170714deduplicateData") var deduplicateData = []byte("dbUpgrade_20170714deduplicateData")

View file

@ -20,9 +20,9 @@ import (
"context" "context"
"sync" "sync"
burnout "github.com/burnout/go-burnout" burnoutcoin "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
// PublicDownloaderAPI provides an API which gives information about the current synchronisation status. // PublicDownloaderAPI provides an API which gives information about the current synchronisation status.
@ -122,7 +122,7 @@ func (api *PublicDownloaderAPI) Syncing(ctx context.Context) (*rpc.Subscription,
// SyncingResult provides information about the current synchronisation status for this node. // SyncingResult provides information about the current synchronisation status for this node.
type SyncingResult struct { type SyncingResult struct {
Syncing bool `json:"syncing"` Syncing bool `json:"syncing"`
Status burnout.SyncProgress `json:"status"` Status burnoutcoin.SyncProgress `json:"status"`
} }
// uninstallSyncSubscriptionRequest uninstalles a syncing subscription in the API event loop. // uninstallSyncSubscriptionRequest uninstalles a syncing subscription in the API event loop.

View file

@ -27,13 +27,13 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
burnout "github.com/burnout/go-burnout" burnoutcoin "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
"github.com/rcrowley/go-metrics" "github.com/rcrowley/go-metrics"
) )
@ -240,7 +240,7 @@ func New(mode SyncMode, stateDb brndb.Database, mux *event.TypeMux, chain BlockC
// In addition, during the state download phase of fast synchronisation the number // In addition, during the state download phase of fast synchronisation the number
// of processed and the total number of known states are also returned. Otherwise // of processed and the total number of known states are also returned. Otherwise
// these are zero. // these are zero.
func (d *Downloader) Progress() burnout.SyncProgress { func (d *Downloader) Progress() burnoutcoin.SyncProgress {
// Lock the current stats and return the progress // Lock the current stats and return the progress
d.syncStatsLock.RLock() d.syncStatsLock.RLock()
defer d.syncStatsLock.RUnlock() defer d.syncStatsLock.RUnlock()
@ -254,7 +254,7 @@ func (d *Downloader) Progress() burnout.SyncProgress {
case LightSync: case LightSync:
current = d.lightchain.CurrentHeader().Number.Uint64() current = d.lightchain.CurrentHeader().Number.Uint64()
} }
return burnout.SyncProgress{ return burnoutcoin.SyncProgress{
StartingBlock: d.syncStatsChainOrigin, StartingBlock: d.syncStatsChainOrigin,
CurrentBlock: current, CurrentBlock: current,
HighestBlock: d.syncStatsChainHeight, HighestBlock: d.syncStatsChainHeight,

View file

@ -25,15 +25,15 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/state" "github.com/burnoutcoin/go-burnout/core/state"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
"github.com/burnout/go-burnout/trie" "github.com/burnoutcoin/go-burnout/trie"
) )
var ( var (

View file

@ -19,7 +19,7 @@
package downloader package downloader
import ( import (
"github.com/burnout/go-burnout/metrics" "github.com/burnoutcoin/go-burnout/metrics"
) )
var ( var (

View file

@ -29,9 +29,9 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
) )
const ( const (

View file

@ -25,9 +25,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/rcrowley/go-metrics" "github.com/rcrowley/go-metrics"
"gopkg.in/karalabe/cookiejar.v2/collections/prque" "gopkg.in/karalabe/cookiejar.v2/collections/prque"
) )

View file

@ -23,12 +23,12 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/state" "github.com/burnoutcoin/go-burnout/core/state"
"github.com/burnout/go-burnout/crypto/sha3" "github.com/burnoutcoin/go-burnout/crypto/sha3"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/trie" "github.com/burnoutcoin/go-burnout/trie"
) )
// stateReq represents a batch of state fetch requests groupped together into // stateReq represents a batch of state fetch requests groupped together into

View file

@ -19,7 +19,7 @@ package downloader
import ( import (
"fmt" "fmt"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
) )
// peerDropFn is a callback type for dropping a peer detected as malicious. // peerDropFn is a callback type for dropping a peer detected as malicious.

View file

@ -22,10 +22,10 @@ import (
"math/rand" "math/rand"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/consensus" "github.com/burnoutcoin/go-burnout/consensus"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"gopkg.in/karalabe/cookiejar.v2/collections/prque" "gopkg.in/karalabe/cookiejar.v2/collections/prque"
) )

View file

@ -24,12 +24,12 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
) )
var ( var (

View file

@ -19,7 +19,7 @@
package fetcher package fetcher
import ( import (
"github.com/burnout/go-burnout/metrics" "github.com/burnoutcoin/go-burnout/metrics"
) )
var ( var (

View file

@ -25,12 +25,12 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
var ( var (

View file

@ -21,8 +21,8 @@ import (
"fmt" "fmt"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
func TestUnmarshalJSONNewFilterArgs(t *testing.T) { func TestUnmarshalJSONNewFilterArgs(t *testing.T) {

View file

@ -23,14 +23,14 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/bitutil" "github.com/burnoutcoin/go-burnout/common/bitutil"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/bloombits" "github.com/burnoutcoin/go-burnout/core/bloombits"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/node" "github.com/burnoutcoin/go-burnout/node"
) )
func BenchmarkBloomBits512(b *testing.B) { func BenchmarkBloomBits512(b *testing.B) {

View file

@ -21,13 +21,13 @@ import (
"math/big" "math/big"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/bloombits" "github.com/burnoutcoin/go-burnout/core/bloombits"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
type Backend interface { type Backend interface {

View file

@ -25,11 +25,11 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
// Type determines the kind of filter and is used to put the filter in to // Type determines the kind of filter and is used to put the filter in to

View file

@ -25,14 +25,14 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/bloombits" "github.com/burnoutcoin/go-burnout/core/bloombits"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
type testBackend struct { type testBackend struct {

View file

@ -23,13 +23,13 @@ import (
"os" "os"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
) )
func makeReceipt(addr common.Address) *types.Receipt { func makeReceipt(addr common.Address) *types.Receipt {

View file

@ -22,10 +22,10 @@ import (
"sort" "sort"
"sync" "sync"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/internal/ethapi" "github.com/burnoutcoin/go-burnout/internal/ethapi"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
var maxPrice = big.NewInt(500 * params.Shannon) var maxPrice = big.NewInt(500 * params.Shannon)

View file

@ -5,11 +5,11 @@ package brn
import ( import (
"math/big" "math/big"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/brn/gasprice" "github.com/burnoutcoin/go-burnout/brn/gasprice"
) )
func (c Config) MarshalTOML() (interface{}, error) { func (c Config) MarshalTOML() (interface{}, error) {

View file

@ -26,20 +26,20 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/consensus" "github.com/burnoutcoin/go-burnout/consensus"
"github.com/burnout/go-burnout/consensus/misc" "github.com/burnoutcoin/go-burnout/consensus/misc"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/brn/fetcher" "github.com/burnoutcoin/go-burnout/brn/fetcher"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
"github.com/burnout/go-burnout/p2p/discover" "github.com/burnoutcoin/go-burnout/p2p/discover"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
) )
const ( const (

View file

@ -23,18 +23,18 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/consensus/ethash" "github.com/burnoutcoin/go-burnout/consensus/ethash"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/state" "github.com/burnoutcoin/go-burnout/core/state"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/core/vm" "github.com/burnoutcoin/go-burnout/core/vm"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
) )
var bigTxGas = new(big.Int).SetUint64(params.TxGas) var bigTxGas = new(big.Int).SetUint64(params.TxGas)

View file

@ -27,18 +27,18 @@ import (
"sync" "sync"
"testing" "testing"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/consensus/ethash" "github.com/burnoutcoin/go-burnout/consensus/ethash"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/core/vm" "github.com/burnoutcoin/go-burnout/core/vm"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
"github.com/burnout/go-burnout/p2p/discover" "github.com/burnoutcoin/go-burnout/p2p/discover"
"github.com/burnout/go-burnout/params" "github.com/burnoutcoin/go-burnout/params"
) )
var ( var (

View file

@ -17,8 +17,8 @@
package brn package brn
import ( import (
"github.com/burnout/go-burnout/metrics" "github.com/burnoutcoin/go-burnout/metrics"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
) )
var ( var (

View file

@ -23,10 +23,10 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
"gopkg.in/fatih/set.v0" "gopkg.in/fatih/set.v0"
) )

View file

@ -21,11 +21,11 @@ import (
"io" "io"
"math/big" "math/big"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
) )
// Constants to match up protocol versions and messages // Constants to match up protocol versions and messages

View file

@ -22,12 +22,12 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
) )
func init() { func init() {

View file

@ -21,11 +21,11 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/p2p/discover" "github.com/burnoutcoin/go-burnout/p2p/discover"
) )
const ( const (

View file

@ -21,9 +21,9 @@ import (
"testing" "testing"
"time" "time"
"github.com/burnout/go-burnout/brn/downloader" "github.com/burnoutcoin/go-burnout/brn/downloader"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
"github.com/burnout/go-burnout/p2p/discover" "github.com/burnoutcoin/go-burnout/p2p/discover"
) )
// Tests that fast sync gets disabled as soon as a real block is successfully // Tests that fast sync gets disabled as soon as a real block is successfully

View file

@ -24,12 +24,12 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/burnout/go-burnout" "github.com/burnoutcoin/go-burnout"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/hexutil" "github.com/burnoutcoin/go-burnout/common/hexutil"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/rlp" "github.com/burnoutcoin/go-burnout/rlp"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
) )
// Client defines typed wrappers for the Burnout RPC API. // Client defines typed wrappers for the Burnout RPC API.
@ -82,7 +82,7 @@ func (ec *Client) getBlock(ctx context.Context, method string, args ...interface
if err != nil { if err != nil {
return nil, err return nil, err
} else if len(raw) == 0 { } else if len(raw) == 0 {
return nil, burnout.NotFound return nil, burnoutcoin.NotFound
} }
// Decode header and transactions. // Decode header and transactions.
var head *types.Header var head *types.Header
@ -144,7 +144,7 @@ func (ec *Client) HeaderByHash(ctx context.Context, hash common.Hash) (*types.He
var head *types.Header var head *types.Header
err := ec.c.CallContext(ctx, &head, "eth_getBlockByHash", hash, false) err := ec.c.CallContext(ctx, &head, "eth_getBlockByHash", hash, false)
if err == nil && head == nil { if err == nil && head == nil {
err = burnout.NotFound err = burnoutcoin.NotFound
} }
return head, err return head, err
} }
@ -155,7 +155,7 @@ func (ec *Client) HeaderByNumber(ctx context.Context, number *big.Int) (*types.H
var head *types.Header var head *types.Header
err := ec.c.CallContext(ctx, &head, "eth_getBlockByNumber", toBlockNumArg(number), false) err := ec.c.CallContext(ctx, &head, "eth_getBlockByNumber", toBlockNumArg(number), false)
if err == nil && head == nil { if err == nil && head == nil {
err = burnout.NotFound err = burnoutcoin.NotFound
} }
return head, err return head, err
} }
@ -185,7 +185,7 @@ func (ec *Client) TransactionByHash(ctx context.Context, hash common.Hash) (tx *
if err != nil { if err != nil {
return nil, false, err return nil, false, err
} else if json == nil { } else if json == nil {
return nil, false, burnout.NotFound return nil, false, burnoutcoin.NotFound
} else if _, r, _ := json.tx.RawSignatureValues(); r == nil { } else if _, r, _ := json.tx.RawSignatureValues(); r == nil {
return nil, false, fmt.Errorf("server returned transaction without signature") return nil, false, fmt.Errorf("server returned transaction without signature")
} }
@ -231,7 +231,7 @@ func (ec *Client) TransactionInBlock(ctx context.Context, blockHash common.Hash,
err := ec.c.CallContext(ctx, &json, "eth_getTransactionByBlockHashAndIndex", blockHash, hexutil.Uint64(index)) err := ec.c.CallContext(ctx, &json, "eth_getTransactionByBlockHashAndIndex", blockHash, hexutil.Uint64(index))
if err == nil { if err == nil {
if json == nil { if json == nil {
return nil, burnout.NotFound return nil, burnoutcoin.NotFound
} else if _, r, _ := json.tx.RawSignatureValues(); r == nil { } else if _, r, _ := json.tx.RawSignatureValues(); r == nil {
return nil, fmt.Errorf("server returned transaction without signature") return nil, fmt.Errorf("server returned transaction without signature")
} }
@ -247,7 +247,7 @@ func (ec *Client) TransactionReceipt(ctx context.Context, txHash common.Hash) (*
err := ec.c.CallContext(ctx, &r, "eth_getTransactionReceipt", txHash) err := ec.c.CallContext(ctx, &r, "eth_getTransactionReceipt", txHash)
if err == nil { if err == nil {
if r == nil { if r == nil {
return nil, burnout.NotFound return nil, burnoutcoin.NotFound
} }
} }
return r, err return r, err
@ -270,7 +270,7 @@ type rpcProgress struct {
// SyncProgress retrieves the current progress of the sync algorithm. If there's // SyncProgress retrieves the current progress of the sync algorithm. If there's
// no sync currently running, it returns nil. // no sync currently running, it returns nil.
func (ec *Client) SyncProgress(ctx context.Context) (*burnout.SyncProgress, error) { func (ec *Client) SyncProgress(ctx context.Context) (*burnoutcoin.SyncProgress, error) {
var raw json.RawMessage var raw json.RawMessage
if err := ec.c.CallContext(ctx, &raw, "eth_syncing"); err != nil { if err := ec.c.CallContext(ctx, &raw, "eth_syncing"); err != nil {
return nil, err return nil, err
@ -284,7 +284,7 @@ func (ec *Client) SyncProgress(ctx context.Context) (*burnout.SyncProgress, erro
if err := json.Unmarshal(raw, &progress); err != nil { if err := json.Unmarshal(raw, &progress); err != nil {
return nil, err return nil, err
} }
return &burnout.SyncProgress{ return &burnoutcoin.SyncProgress{
StartingBlock: uint64(progress.StartingBlock), StartingBlock: uint64(progress.StartingBlock),
CurrentBlock: uint64(progress.CurrentBlock), CurrentBlock: uint64(progress.CurrentBlock),
HighestBlock: uint64(progress.HighestBlock), HighestBlock: uint64(progress.HighestBlock),
@ -295,7 +295,7 @@ func (ec *Client) SyncProgress(ctx context.Context) (*burnout.SyncProgress, erro
// SubscribeNewHead subscribes to notifications about the current blockchain head // SubscribeNewHead subscribes to notifications about the current blockchain head
// on the given channel. // on the given channel.
func (ec *Client) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (burnout.Subscription, error) { func (ec *Client) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (burnoutcoin.Subscription, error) {
return ec.c.EthSubscribe(ctx, ch, "newHeads", map[string]struct{}{}) return ec.c.EthSubscribe(ctx, ch, "newHeads", map[string]struct{}{})
} }
@ -349,18 +349,18 @@ func (ec *Client) NonceAt(ctx context.Context, account common.Address, blockNumb
// Filters // Filters
// FilterLogs executes a filter query. // FilterLogs executes a filter query.
func (ec *Client) FilterLogs(ctx context.Context, q burnout.FilterQuery) ([]types.Log, error) { func (ec *Client) FilterLogs(ctx context.Context, q burnoutcoin.FilterQuery) ([]types.Log, error) {
var result []types.Log var result []types.Log
err := ec.c.CallContext(ctx, &result, "eth_getLogs", toFilterArg(q)) err := ec.c.CallContext(ctx, &result, "eth_getLogs", toFilterArg(q))
return result, err return result, err
} }
// SubscribeFilterLogs subscribes to the results of a streaming filter query. // SubscribeFilterLogs subscribes to the results of a streaming filter query.
func (ec *Client) SubscribeFilterLogs(ctx context.Context, q burnout.FilterQuery, ch chan<- types.Log) (burnout.Subscription, error) { func (ec *Client) SubscribeFilterLogs(ctx context.Context, q burnoutcoin.FilterQuery, ch chan<- types.Log) (burnoutcoin.Subscription, error) {
return ec.c.EthSubscribe(ctx, ch, "logs", toFilterArg(q)) return ec.c.EthSubscribe(ctx, ch, "logs", toFilterArg(q))
} }
func toFilterArg(q burnout.FilterQuery) interface{} { func toFilterArg(q burnoutcoin.FilterQuery) interface{} {
arg := map[string]interface{}{ arg := map[string]interface{}{
"fromBlock": toBlockNumArg(q.FromBlock), "fromBlock": toBlockNumArg(q.FromBlock),
"toBlock": toBlockNumArg(q.ToBlock), "toBlock": toBlockNumArg(q.ToBlock),
@ -421,7 +421,7 @@ func (ec *Client) PendingTransactionCount(ctx context.Context) (uint, error) {
// blockNumber selects the block height at which the call runs. It can be nil, in which // blockNumber selects the block height at which the call runs. It can be nil, in which
// case the code is taken from the latest known block. Note that state from very old // case the code is taken from the latest known block. Note that state from very old
// blocks might not be available. // blocks might not be available.
func (ec *Client) CallContract(ctx context.Context, msg burnout.CallMsg, blockNumber *big.Int) ([]byte, error) { func (ec *Client) CallContract(ctx context.Context, msg burnoutcoin.CallMsg, blockNumber *big.Int) ([]byte, error) {
var hex hexutil.Bytes var hex hexutil.Bytes
err := ec.c.CallContext(ctx, &hex, "eth_call", toCallArg(msg), toBlockNumArg(blockNumber)) err := ec.c.CallContext(ctx, &hex, "eth_call", toCallArg(msg), toBlockNumArg(blockNumber))
if err != nil { if err != nil {
@ -432,7 +432,7 @@ func (ec *Client) CallContract(ctx context.Context, msg burnout.CallMsg, blockNu
// PendingCallContract executes a message call transaction using the EVM. // PendingCallContract executes a message call transaction using the EVM.
// The state seen by the contract call is the pending state. // The state seen by the contract call is the pending state.
func (ec *Client) PendingCallContract(ctx context.Context, msg burnout.CallMsg) ([]byte, error) { func (ec *Client) PendingCallContract(ctx context.Context, msg burnoutcoin.CallMsg) ([]byte, error) {
var hex hexutil.Bytes var hex hexutil.Bytes
err := ec.c.CallContext(ctx, &hex, "eth_call", toCallArg(msg), "pending") err := ec.c.CallContext(ctx, &hex, "eth_call", toCallArg(msg), "pending")
if err != nil { if err != nil {
@ -455,7 +455,7 @@ func (ec *Client) SuggestGasPrice(ctx context.Context) (*big.Int, error) {
// the current pending state of the backend blockchain. There is no guarantee that this is // the current pending state of the backend blockchain. There is no guarantee that this is
// the true gas limit requirement as other transactions may be added or removed by miners, // the true gas limit requirement as other transactions may be added or removed by miners,
// but it should provide a basis for setting a reasonable default. // but it should provide a basis for setting a reasonable default.
func (ec *Client) EstimateGas(ctx context.Context, msg burnout.CallMsg) (*big.Int, error) { func (ec *Client) EstimateGas(ctx context.Context, msg burnoutcoin.CallMsg) (*big.Int, error) {
var hex hexutil.Big var hex hexutil.Big
err := ec.c.CallContext(ctx, &hex, "eth_estimateGas", toCallArg(msg)) err := ec.c.CallContext(ctx, &hex, "eth_estimateGas", toCallArg(msg))
if err != nil { if err != nil {
@ -476,7 +476,7 @@ func (ec *Client) SendTransaction(ctx context.Context, tx *types.Transaction) er
return ec.c.CallContext(ctx, nil, "eth_sendRawTransaction", common.ToHex(data)) return ec.c.CallContext(ctx, nil, "eth_sendRawTransaction", common.ToHex(data))
} }
func toCallArg(msg burnout.CallMsg) interface{} { func toCallArg(msg burnoutcoin.CallMsg) interface{} {
arg := map[string]interface{}{ arg := map[string]interface{}{
"from": msg.From, "from": msg.From,
"to": msg.To, "to": msg.To,

View file

@ -16,19 +16,19 @@
package brnclient package brnclient
import "github.com/burnout/go-burnout" import "github.com/burnoutcoin/go-burnout"
// Verify that Client implements the burnout interfaces. // Verify that Client implements the burnout interfaces.
var ( var (
_ = burnout.ChainReader(&Client{}) _ = burnoutcoin.ChainReader(&Client{})
_ = burnout.TransactionReader(&Client{}) _ = burnoutcoin.TransactionReader(&Client{})
_ = burnout.ChainStateReader(&Client{}) _ = burnoutcoin.ChainStateReader(&Client{})
_ = burnout.ChainSyncReader(&Client{}) _ = burnoutcoin.ChainSyncReader(&Client{})
_ = burnout.ContractCaller(&Client{}) _ = burnoutcoin.ContractCaller(&Client{})
_ = burnout.GasEstimator(&Client{}) _ = burnoutcoin.GasEstimator(&Client{})
_ = burnout.GasPricer(&Client{}) _ = burnoutcoin.GasPricer(&Client{})
_ = burnout.LogFilterer(&Client{}) _ = burnoutcoin.LogFilterer(&Client{})
_ = burnout.PendingStateReader(&Client{}) _ = burnoutcoin.PendingStateReader(&Client{})
// _ = burnout.PendingStateEventer(&Client{}) // _ = burnoutcoin.PendingStateEventer(&Client{})
_ = burnout.PendingContractCaller(&Client{}) _ = burnoutcoin.PendingContractCaller(&Client{})
) )

View file

@ -20,8 +20,8 @@ import (
"errors" "errors"
"math/big" "math/big"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
) )
// senderFromServer is a types.Signer that remembers the sender address returned by the RPC // senderFromServer is a types.Signer that remembers the sender address returned by the RPC

View file

@ -22,8 +22,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/metrics" "github.com/burnoutcoin/go-burnout/metrics"
"github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/errors" "github.com/syndtr/goleveldb/leveldb/errors"
"github.com/syndtr/goleveldb/leveldb/filter" "github.com/syndtr/goleveldb/leveldb/filter"

View file

@ -25,7 +25,7 @@ import (
"sync" "sync"
"testing" "testing"
"github.com/burnout/go-burnout/brndb" "github.com/burnoutcoin/go-burnout/brndb"
) )
func newTestLDB() (*brndb.LDBDatabase, func()) { func newTestLDB() (*brndb.LDBDatabase, func()) {

View file

@ -20,7 +20,7 @@ import (
"errors" "errors"
"sync" "sync"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
) )
/* /*

View file

@ -30,17 +30,17 @@ import (
"strings" "strings"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/mclock" "github.com/burnoutcoin/go-burnout/common/mclock"
"github.com/burnout/go-burnout/consensus" "github.com/burnoutcoin/go-burnout/consensus"
"github.com/burnout/go-burnout/core" "github.com/burnoutcoin/go-burnout/core"
"github.com/burnout/go-burnout/core/types" "github.com/burnoutcoin/go-burnout/core/types"
"github.com/burnout/go-burnout/brn" "github.com/burnoutcoin/go-burnout/brn"
"github.com/burnout/go-burnout/event" "github.com/burnoutcoin/go-burnout/event"
"github.com/burnout/go-burnout/les" "github.com/burnoutcoin/go-burnout/les"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/p2p" "github.com/burnoutcoin/go-burnout/p2p"
"github.com/burnout/go-burnout/rpc" "github.com/burnoutcoin/go-burnout/rpc"
"golang.org/x/net/websocket" "golang.org/x/net/websocket"
) )

View file

@ -57,7 +57,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/burnout/go-burnout/internal/build" "github.com/burnoutcoin/go-burnout/internal/build"
) )
var ( var (
@ -454,7 +454,7 @@ func maybeSkipArchive(env build.Environment) {
func doDebianSource(cmdline []string) { func doDebianSource(cmdline []string) {
var ( var (
signer = flag.String("signer", "", `Signing key name, also used as package author`) signer = flag.String("signer", "", `Signing key name, also used as package author`)
upload = flag.String("upload", "", `Where to upload the source package (usually "ppa:burnout/burnout")`) upload = flag.String("upload", "", `Where to upload the source package (usually "ppa:burnoutcoin/burnout")`)
workdir = flag.String("workdir", "", `Output directory for packages (uses temp dir if unset)`) workdir = flag.String("workdir", "", `Output directory for packages (uses temp dir if unset)`)
now = time.Now() now = time.Now()
) )
@ -549,9 +549,9 @@ func newDebMetadata(distro, author string, env build.Environment, t time.Time) d
// on all executable packages. // on all executable packages.
func (meta debMetadata) Name() string { func (meta debMetadata) Name() string {
if isUnstableBuild(meta.Env) { if isUnstableBuild(meta.Env) {
return "burnout-unstable" return "burnoutcoin-unstable"
} }
return "burnout" return "burnoutcoin"
} }
// VersionString returns the debian version of the packages. // VersionString returns the debian version of the packages.
@ -595,7 +595,7 @@ func (meta debMetadata) ExeConflicts(exe debExecutable) string {
// be preferred and the conflicting files should be handled via // be preferred and the conflicting files should be handled via
// alternates. We might do this eventually but using a conflict is // alternates. We might do this eventually but using a conflict is
// easier now. // easier now.
return "burnout, " + exe.Name return "burnoutcoin, " + exe.Name
} }
return "" return ""
} }
@ -721,7 +721,7 @@ func doAndroidArchive(cmdline []string) {
// Build the Android archive and Maven resources // Build the Android archive and Maven resources
build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile")) build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile"))
build.MustRun(gomobileTool("init", "--ndk", os.Getenv("ANDROID_NDK"))) build.MustRun(gomobileTool("init", "--ndk", os.Getenv("ANDROID_NDK")))
build.MustRun(gomobileTool("bind", "--target", "android", "--javapkg", "org.burnout", "-v", "github.com/burnout/go-burnout/mobile")) build.MustRun(gomobileTool("bind", "--target", "android", "--javapkg", "org.burnoutcoin", "-v", "github.com/burnoutcoin/go-burnout/mobile"))
if *local { if *local {
// If we're building locally, copy bundle to build dir and skip Maven // If we're building locally, copy bundle to build dir and skip Maven
@ -841,7 +841,7 @@ func doXCodeFramework(cmdline []string) {
// Build the iOS XCode framework // Build the iOS XCode framework
build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile")) build.MustRun(goTool("get", "golang.org/x/mobile/cmd/gomobile"))
build.MustRun(gomobileTool("init")) build.MustRun(gomobileTool("init"))
bind := gomobileTool("bind", "--target", "ios", "--tags", "ios", "-v", "github.com/burnout/go-burnout/mobile") bind := gomobileTool("bind", "--target", "ios", "--tags", "ios", "-v", "github.com/burnoutcoin/go-burnout/mobile")
if *local { if *local {
// If we're building locally, use the build folder and stop afterwards // If we're building locally, use the build folder and stop afterwards

View file

@ -4,9 +4,9 @@ Priority: extra
Maintainer: {{.Author}} Maintainer: {{.Author}}
Build-Depends: debhelper (>= 8.0.0), golang-1.9 Build-Depends: debhelper (>= 8.0.0), golang-1.9
Standards-Version: 3.9.5 Standards-Version: 3.9.5
Homepage: https://burnout.org Homepage: https://burnoutcoin.org
Vcs-Git: git://github.com/burnout/go-burnout.git Vcs-Git: git://github.com/burnoutcoin/go-burnout.git
Vcs-Browser: https://github.com/burnout/go-burnout Vcs-Browser: https://github.com/burnoutcoin/go-burnout
Package: {{.Name}} Package: {{.Name}}
Architecture: any Architecture: any

View file

@ -4,14 +4,14 @@
http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.burnout</groupId> <groupId>org.burnoutcoin</groupId>
<artifactId>geth</artifactId> <artifactId>geth</artifactId>
<version>{{.Version}}</version> <version>{{.Version}}</version>
<packaging>aar</packaging> <packaging>aar</packaging>
<name>Android Burnout Client</name> <name>Android Burnout Client</name>
<description>Android port of the go-burnout libraries and node</description> <description>Android port of the go-burnout libraries and node</description>
<url>https://github.com/burnout/go-burnout</url> <url>https://github.com/burnoutcoin/go-burnout</url>
<inceptionYear>2015</inceptionYear> <inceptionYear>2015</inceptionYear>
<licenses> <licenses>
@ -24,7 +24,7 @@
<organization> <organization>
<name>Burnout</name> <name>Burnout</name>
<url>https://burnout.org</url> <url>https://burnoutcoin.org</url>
</organization> </organization>
<developers> <developers>
@ -48,10 +48,10 @@
<issueManagement> <issueManagement>
<system>GitHub Issues</system> <system>GitHub Issues</system>
<url>https://github.com/burnout/go-burnout/issues/</url> <url>https://github.com/burnoutcoin/go-burnout/issues/</url>
</issueManagement> </issueManagement>
<scm> <scm>
<url>https://github.com/burnout/go-burnout</url> <url>https://github.com/burnoutcoin/go-burnout</url>
</scm> </scm>
</project> </project>

View file

@ -3,9 +3,9 @@ InstallDir "$InstDir"
OutFile "${OUTPUTFILE}" # set through command line arguments OutFile "${OUTPUTFILE}" # set through command line arguments
# Links for "Add/Remove Programs" # Links for "Add/Remove Programs"
!define HELPURL "https://github.com/burnout/go-burnout/issues" !define HELPURL "https://github.com/burnoutcoin/go-burnout/issues"
!define UPDATEURL "https://github.com/burnout/go-burnout/releases" !define UPDATEURL "https://github.com/burnoutcoin/go-burnout/releases"
!define ABOUTURL "https://github.com/burnout/go-burnout#burnout-go" !define ABOUTURL "https://github.com/burnoutcoin/go-burnout#burnout-go"
!define /date NOW "%Y%m%d" !define /date NOW "%Y%m%d"
PageEx license PageEx license

View file

@ -2,12 +2,12 @@ Pod::Spec.new do |spec|
spec.name = 'Geth' spec.name = 'Geth'
spec.version = '{{.Version}}' spec.version = '{{.Version}}'
spec.license = { :type => 'GNU Lesser General Public License, Version 3.0' } spec.license = { :type => 'GNU Lesser General Public License, Version 3.0' }
spec.homepage = 'https://github.com/burnout/go-burnout' spec.homepage = 'https://github.com/burnoutcoin/go-burnout'
spec.authors = { {{range .Contributors}} spec.authors = { {{range .Contributors}}
'{{.Name}}' => '{{.Email}}',{{end}} '{{.Name}}' => '{{.Email}}',{{end}}
} }
spec.summary = 'iOS Burnout Client' spec.summary = 'iOS Burnout Client'
spec.source = { :git => 'https://github.com/burnout/go-burnout.git', :commit => '{{.Commit}}' } spec.source = { :git => 'https://github.com/burnoutcoin/go-burnout.git', :commit => '{{.Commit}}' }
spec.platform = :ios spec.platform = :ios
spec.ios.deployment_target = '9.0' spec.ios.deployment_target = '9.0'

View file

@ -24,8 +24,8 @@ import (
"os" "os"
"strings" "strings"
"github.com/burnout/go-burnout/accounts/abi/bind" "github.com/burnoutcoin/go-burnout/accounts/abi/bind"
"github.com/burnout/go-burnout/common/compiler" "github.com/burnoutcoin/go-burnout/common/compiler"
) )
var ( var (

View file

@ -23,13 +23,13 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/burnout/go-burnout/cmd/utils" "github.com/burnoutcoin/go-burnout/cmd/utils"
"github.com/burnout/go-burnout/crypto" "github.com/burnoutcoin/go-burnout/crypto"
"github.com/burnout/go-burnout/log" "github.com/burnoutcoin/go-burnout/log"
"github.com/burnout/go-burnout/p2p/discover" "github.com/burnoutcoin/go-burnout/p2p/discover"
"github.com/burnout/go-burnout/p2p/discv5" "github.com/burnoutcoin/go-burnout/p2p/discv5"
"github.com/burnout/go-burnout/p2p/nat" "github.com/burnoutcoin/go-burnout/p2p/nat"
"github.com/burnout/go-burnout/p2p/netutil" "github.com/burnoutcoin/go-burnout/p2p/netutil"
) )
func main() { func main() {

View file

@ -21,7 +21,7 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"github.com/burnout/go-burnout/cmd/evm/internal/compiler" "github.com/burnoutcoin/go-burnout/cmd/evm/internal/compiler"
cli "gopkg.in/urfave/cli.v1" cli "gopkg.in/urfave/cli.v1"
) )

View file

@ -22,7 +22,7 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"github.com/burnout/go-burnout/core/asm" "github.com/burnoutcoin/go-burnout/core/asm"
cli "gopkg.in/urfave/cli.v1" cli "gopkg.in/urfave/cli.v1"
) )

View file

@ -20,7 +20,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/burnout/go-burnout/core/asm" "github.com/burnoutcoin/go-burnout/core/asm"
) )
func Compile(fn string, src []byte, debug bool) (string, error) { func Compile(fn string, src []byte, debug bool) (string, error) {

View file

@ -21,9 +21,9 @@ import (
"io" "io"
"time" "time"
"github.com/burnout/go-burnout/common" "github.com/burnoutcoin/go-burnout/common"
"github.com/burnout/go-burnout/common/math" "github.com/burnoutcoin/go-burnout/common/math"
"github.com/burnout/go-burnout/core/vm" "github.com/burnoutcoin/go-burnout/core/vm"
) )
type JSONLogger struct { type JSONLogger struct {

View file

@ -22,7 +22,7 @@ import (
"math/big" "math/big"
"os" "os"
"github.com/burnout/go-burnout/cmd/utils" "github.com/burnoutcoin/go-burnout/cmd/utils"
"gopkg.in/urfave/cli.v1" "gopkg.in/urfave/cli.v1"
) )

Some files were not shown because too many files have changed in this diff Show more