Zsolt Felfoldi
66979aa468
light: fixed data race in TestTxPool
8 years ago
Zsolt Felfoldi
93f9c023cc
les: fixed selectPeer deadlock, improved request distribution
...
les/flowcontrol: using proper types for relative and absolute times
8 years ago
Péter Szilágyi
e0ee0cc66a
Merge pull request #3517 from karalabe/empty-ios-prefix
...
build: finally settle on empty iOS ObjC package prefixes
8 years ago
Péter Szilágyi
9b135a9c20
build: finally settle on empty iOS ObjC package prefixes
8 years ago
Felix Lange
e171bf74f8
core/types: remove redundant SignECDSA wrappers, rename to SignTx
8 years ago
Péter Szilágyi
bb2e99dfc2
Merge pull request #3417 from karalabe/mobile-polishes
...
Account management API polishes
8 years ago
Péter Szilágyi
b37d175e59
accounts, internal, mobile: polish accounts API, extend Android tests
8 years ago
Maran
f087633efd
swarm/api/http: add support for CORS headers ( #3388 )
8 years ago
Péter Szilágyi
bbce726c8a
Merge pull request #3515 from bas-vk/exportropsten
...
core,cmd/utils: bugfix for ropsten dump imports
8 years ago
Jeffrey Wilcke
bbc4ea4ae8
core/vm: improved EVM run loop & instruction calling ( #3378 )
...
The run loop, which previously contained custom opcode executes have been
removed and has been simplified to a few checks.
Each operation consists of 4 elements: execution function, gas cost function,
stack validation function and memory size function. The execution function
implements the operation's runtime behaviour, the gas cost function implements
the operation gas costs function and greatly depends on the memory and stack,
the stack validation function validates the stack and makes sure that enough
items can be popped off and pushed on and the memory size function calculates
the memory required for the operation and returns it.
This commit also allows the EVM to go unmetered. This is helpful for offline
operations such as contract calls.
8 years ago
RJ
2126d81488
accounts/abi: add support for function types ( #3405 )
8 years ago
Péter Szilágyi
06b381d1c9
cmd/utils: disallow `--fakepow` for live operation ( #3512 )
8 years ago
Péter Szilágyi
08eea0f0e4
accounts, core, crypto, internal: use normalised V during signature handling ( #3455 )
...
To address increasing complexity in code that handles signatures, this PR
discards all notion of "different" signature types at the library level. Both
the crypto and accounts package is reduced to only be able to produce plain
canonical secp256k1 signatures. This makes the crpyto APIs much cleaner,
simpler and harder to abuse.
8 years ago
Bas van Kervel
a1798a8188
core,cmd/utils: bugfix for ropsten dump imports
8 years ago
Péter Szilágyi
0fac8cba47
Merge pull request #3511 from karalabe/live-fakepow
...
cmd/utils, eth, les: bubble --fakepow flag into eth/les too
8 years ago
Péter Szilágyi
1ca74aba6f
Merge pull request #3505 from bas-vk/txinblock
...
ethclient: hex encode request args for TransactionInBlock
8 years ago
Péter Szilágyi
2ce30382d9
cmd/utils, eth, les: bubble --fakepow flag into eth/les too
8 years ago
Bas van Kervel
8bc545be2a
ethclient: hex encode request args for TransactionInBlock
8 years ago
Péter Szilágyi
891fcd8ce1
Merge pull request #3486 from bas-vk/txbyhash
...
ethclient: pass ptr when parsing eth_getTransactionByHash result
8 years ago
Guillaume NICOLAS
bd06091874
mobile: add SetVerbosity ( #3492 )
8 years ago
Péter Szilágyi
3e3edcc465
Merge pull request #3490 from karalabe/fix-miner-api
...
eth: fix miner start API to accept int, not hexint
8 years ago
Péter Szilágyi
89a32267f7
eth: fix miner start API to accept int, not hexint
8 years ago
Bas van Kervel
021177ca9b
ethclient: pass ptr when parsing eth_getTransactionByHash result
8 years ago
Péter Szilágyi
115364b0a9
Merge pull request #3475 from fjl/rpc-hex-improvements
...
rpc: remove HexBytes, HexNumber
8 years ago
bas-vk
6d15d00ac4
accounts/abi: add support for "anonymous" and "indexed" for events ( #3464 )
8 years ago
Valentin Wüstholz
bdaa43510b
cmd/disasm: fix off-by-one error and improve error handling ( #3482 )
8 years ago
Aron Fischer
9a51f5c350
swarm/http: check error returned by reader.Size ( #3470 )
8 years ago
Aron Fischer
301c0a6303
swarm/storage: call size before seek-from-end ( #3469 )
8 years ago
Aron Fischer
65f486ff02
swarm/api: check for zero length manifest error ( #3468 )
8 years ago
Péter Szilágyi
df096a7771
Merge pull request #3479 from karalabe/android-ropsten-dao
...
mobile: fix ropsten chain configs
8 years ago
Péter Szilágyi
0e9a9f243f
mobile: fix ropsten chain configs
8 years ago
Felix Lange
12c964b2b7
internal/ethapi: fix hex handling for eth_call input and eth_sendRawTransaction
8 years ago
Felix Lange
cf71f5cd60
rpc: remove HexNumber, replace all uses with hexutil types
...
This change couldn't be automated because HexNumber was used for numbers
of all sizes.
8 years ago
Felix Lange
adab2e16bd
rpc: remove HexBytes, replace all uses with hexutil.Bytes
8 years ago
Felix Lange
a3e3235d97
rpc: improve error messages for invalid arguments
...
The message now includes the index of the invalid arg.
8 years ago
Felix Lange
2be3c4b0e3
internal/jsre: fix built-in inspect function
...
inspect was broken by ffaf58f0a9
(May 2016!).
Looks like nobody uses this function.
8 years ago
Péter Szilágyi
0ee796632a
eth, miner: verify PoW in the remote agent to notify submitter ( #3438 )
8 years ago
Nick Johnson
1fe67c125d
eth/filters: add FindOnce for iterator-like operation ( #3435 )
...
This commit introduces a FindOnce method for filters. FindOnce finds the next block that
matches the filter and returns all matching logs from that block. If there are no further
matching logs, it returns a nil slice. This method allows callers to iterate over large
sets of logs progressively.
The changes introduce a small inefficiency relating to mipmaps: the first time a filter is
called, it acts as if all mipmaps are matched, and thus iterates several blocks near the
requested start point. This is in the interest of simplicity and avoiding duplicate mipmap
lookups each time FindOnce is called.
8 years ago
gluk256
ba996f5e27
whisper: refactoring ( #3411 )
...
* whisper: refactored message processing
* whisper: final polishing
* whisper: logging updated
* whisper: moved the check, changed the default PoW
* whisper: refactoring of message queuing
* whisper: refactored parameters
8 years ago
Péter Szilágyi
64bf5bafe9
Merge pull request #3403 from VoR0220/fixedPointsAbi
...
accounts/abi: prepare ABI to handle fixed point types
8 years ago
Péter Szilágyi
4d05bbf2a4
accounts/abi: clean up PR and add type parsing tests
8 years ago
VoR0220
471990f771
accounts/abi: prepare ABI to handle fixed point types
...
Signed-off-by: VoR0220 <rj@erisindustries.com>
8 years ago
Péter Szilágyi
7b623aab9d
Merge pull request #3454 from karalabe/allow-zeroprice-tx
...
core: allow zero priced transactions from inexistent accounts too
8 years ago
Péter Szilágyi
e871ae1270
Merge pull request #3453 from fjl/api-sign-recover-hex
...
internal/ethapi: fix hex handling for eth_sign, personal_{sign,recover}
8 years ago
Péter Szilágyi
c44830ebf3
core, light: allow zero cost txs from inexistent accounts too
8 years ago
Felix Lange
3e4a04f34d
internal/ethapi: fix hex handling for eth_sign, personal_{sign,recover}
8 years ago
Péter Szilágyi
38827dd9ca
Merge pull request #3445 from karalabe/govet-ip-signal
...
p2p/nat: fix a bytes based net.IP comparison
8 years ago
Péter Szilágyi
21fd9f037e
p2p/nat: fix a bytes based net.IP comparison
8 years ago
Péter Szilágyi
033763eaf7
Merge pull request #3442 from karalabe/discv5-fix-ip-comparison
...
p2p/discover, p2p/discv5: use flexible comparison for IPs
8 years ago
Péter Szilágyi
2573094df2
p2p/discover, p2p/discv5: use flexible comparison for IPs
8 years ago