Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
4b2ee6c3
Commit
4b2ee6c3
authored
May 15, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/0.9.21' into develop
parents
d116b959
7ea76fcf
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
8 deletions
+6
-8
main.go
cmd/geth/main.go
+1
-3
main.go
cmd/mist/main.go
+1
-1
cmd.go
cmd/utils/cmd.go
+1
-1
big.go
common/big.go
+1
-0
block_processor.go
core/block_processor.go
+0
-2
xeth.go
xeth/xeth.go
+2
-1
No files found.
cmd/geth/main.go
View file @
4b2ee6c3
...
...
@@ -50,7 +50,7 @@ import _ "net/http/pprof"
const
(
ClientIdentifier
=
"Geth"
Version
=
"0.9.2
0
"
Version
=
"0.9.2
1
"
)
var
(
...
...
@@ -283,8 +283,6 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
}
func
main
()
{
//fmt.Printf("\n 🌞\n\n ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴛʜᴇ\n 𝐅 𝐑 𝐎 𝐍 𝐓 𝐈 𝐄 𝐑\n\n🌾 🌵🌾🌾 🐎 🌾 🌵 🌾\n\n")
fmt
.
Println
(
"
\n
Welcome to the
\n
FRONTIER
\n
"
)
runtime
.
GOMAXPROCS
(
runtime
.
NumCPU
())
defer
logger
.
Flush
()
if
err
:=
app
.
Run
(
os
.
Args
);
err
!=
nil
{
...
...
cmd/mist/main.go
View file @
4b2ee6c3
...
...
@@ -37,7 +37,7 @@ import (
const
(
ClientIdentifier
=
"Mist"
Version
=
"0.9.
19
"
Version
=
"0.9.
21
"
)
var
(
...
...
cmd/utils/cmd.go
View file @
4b2ee6c3
...
...
@@ -104,7 +104,7 @@ func Fatalf(format string, args ...interface{}) {
}
func
StartEthereum
(
ethereum
*
eth
.
Ethereum
)
{
glog
.
V
(
logger
.
Info
)
.
Infoln
(
"Starting
"
,
ethereum
.
Name
())
glog
.
V
(
logger
.
Info
)
.
Infoln
(
"Starting"
,
ethereum
.
Name
())
if
err
:=
ethereum
.
Start
();
err
!=
nil
{
Fatalf
(
"Error starting Ethereum: %v"
,
err
)
}
...
...
common/big.go
View file @
4b2ee6c3
...
...
@@ -13,6 +13,7 @@ var (
Big32
=
big
.
NewInt
(
32
)
Big256
=
big
.
NewInt
(
0xff
)
Big257
=
big
.
NewInt
(
257
)
MaxBig
=
String2Big
(
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
)
)
// Big pow
...
...
core/block_processor.go
View file @
4b2ee6c3
...
...
@@ -24,8 +24,6 @@ const (
BlockChainVersion
=
2
)
var
statelogger
=
logger
.
NewLogger
(
"BLOCK"
)
type
BlockProcessor
struct
{
db
common
.
Database
extraDb
common
.
Database
...
...
xeth/xeth.go
View file @
4b2ee6c3
...
...
@@ -778,7 +778,7 @@ func (self *XEth) PushTx(encodedTx string) (string, error) {
}
func
(
self
*
XEth
)
Call
(
fromStr
,
toStr
,
valueStr
,
gasStr
,
gasPriceStr
,
dataStr
string
)
(
string
,
string
,
error
)
{
statedb
:=
self
.
State
()
.
State
()
//self.eth.ChainManager().TransState()
statedb
:=
self
.
State
()
.
State
()
.
Copy
()
//self.eth.ChainManager().TransState()
var
from
*
state
.
StateObject
if
len
(
fromStr
)
==
0
{
accounts
,
err
:=
self
.
backend
.
AccountManager
()
.
Accounts
()
...
...
@@ -791,6 +791,7 @@ func (self *XEth) Call(fromStr, toStr, valueStr, gasStr, gasPriceStr, dataStr st
from
=
statedb
.
GetOrNewStateObject
(
common
.
HexToAddress
(
fromStr
))
}
from
.
SetBalance
(
common
.
MaxBig
)
from
.
SetGasPool
(
self
.
backend
.
ChainManager
()
.
GasLimit
())
msg
:=
callmsg
{
from
:
from
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment