zelig
e252c634cb
first stab at integrating crypto in our p2p
...
- abstract the entire handshake logic in cryptoId.Run() taking session-relevant parameters
- changes in peer to accomodate how the encryption layer would be switched on
- modify arguments of handshake components
- fixed test getting the wrong pubkey but it till crashes on DH in newSession()
2015-02-06 00:00:35 +01:00
zelig
1803c65e40
integrate cryptoId into peer and connection lifecycle
2015-02-06 00:00:35 +01:00
zelig
489d956283
completed the test. FAIL now. it crashes at diffie-hellman. ECIES -> secp256k1-go panics
2015-02-06 00:00:35 +01:00
zelig
076c382a74
handshake test to crypto
2015-02-06 00:00:35 +01:00
zelig
3b6385b146
handshake test to crypto
2015-02-06 00:00:34 +01:00
zelig
714b955d6e
fix crash
...
- add session token check and fallback to shared secret in responder call too
- use explicit length for the types of new messages
- fix typo resp[resLen-1] = tokenFlag
2015-02-06 00:00:34 +01:00
zelig
b855f671a5
rewrite to comply with latest spec
...
- correct sizes for the blocks : sec signature 65, ecies sklen 16, keylength 32
- added allocation to Xor (should be optimized later)
- no pubkey reader needed, just do with copy
- restructuring now into INITIATE, RESPOND, COMPLETE -> newSession initialises the encryption/authentication layer
- crypto identity can be part of client identity, some initialisation when server created
2015-02-06 00:00:34 +01:00
zelig
4e52adb84a
add crypto auth logic to p2p
2015-02-06 00:00:34 +01:00
zelig
d227f6184e
fix protocol to accomodate privkey
2015-02-06 00:00:34 +01:00
zelig
88167f39a6
add privkey to clientIdentity + tests
2015-02-06 00:00:34 +01:00
zelig
c8a8aa0d43
initial hook for crypto handshake (void, off by default)
2015-02-06 00:00:34 +01:00
obscuren
6b5f25802e
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-02-05 14:42:22 -08:00
obscuren
f8c1eb157d
Undone fix. Will re-enable once chain resets
2015-02-05 14:42:12 -08:00
Taylor Gerring
59665ade85
Pin Travis go version to 1.4.1
2015-02-05 16:27:54 -06:00
Taylor Gerring
c1f6e259a9
Only submit on coverage report success
2015-02-05 16:04:42 -06:00
Taylor Gerring
03b89ab712
Only download missing deps, not build
2015-02-05 16:03:29 -06:00
Taylor Gerring
ae3e9d4881
Don't reference by $GOROOT
2015-02-05 16:02:15 -06:00
obscuren
cad53fa191
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
...
Conflicts:
README.md
2015-02-05 12:36:30 -08:00
obscuren
0e682d936d
Updated readme
2015-02-05 12:35:46 -08:00
obscuren
cec30e23b2
Updated readme
2015-02-05 12:34:47 -08:00
Jeffrey Wilcke
47129428fe
Merge pull request #290 from Gustav-Simonsson/correct_block_parent_timestamp_check
...
Correct block parent timestamp check and typos
2015-02-05 12:23:56 -08:00
obscuren
2f30a27b2b
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-02-05 12:22:44 -08:00
obscuren
8be1d134aa
updated home
2015-02-05 12:22:35 -08:00
obscuren
7e0799ff21
Merge commit '9d84609b3faf797f4a611587abdda3d6b3b07917' into develop
2015-02-05 12:07:36 -08:00
Marek Kotewicz
9d84609b3f
Merge branch 'master' of https://github.com/ethereum/ethereum.js
2015-02-05 21:06:50 +01:00
obscuren
c64852dbcc
pending / chain event
2015-02-05 11:55:03 -08:00
obscuren
bcacaaa4f4
Merge branch 'tgerring-develop' into develop
2015-02-05 11:44:45 -08:00
obscuren
d00e2731e5
Merge branch 'develop' of https://github.com/tgerring/go-ethereum into tgerring-develop
...
Conflicts:
rpc/http/server.go
2015-02-05 11:44:30 -08:00
Jeffrey Wilcke
99a1551b20
Merge pull request #287 from ethereum/system-testing
...
Seednode CLI param updates
2015-02-05 11:09:13 -08:00
obscuren
ac69538707
Merge branch 'develop' into miner
2015-02-05 10:58:43 -08:00
CJentzsch
16ab949110
cppjit wrong cmake config fail
2015-02-05 18:40:37 +01:00
Marek Kotewicz
82cc5f63ae
bring back jsonrpc single method calls in polling
2015-02-05 18:20:43 +01:00
obscuren
9d2166a964
wip
2015-02-05 09:13:02 -08:00
CJentzsch
0c29650bfa
debug version for cppjit in dockerfile
2015-02-05 17:01:24 +01:00
sveneh
af21a32cef
enabled tests
2015-02-05 12:31:49 +01:00
sveneh
5235124460
enabled python in tests
2015-02-05 12:09:35 +01:00
sveneh
2e2e36cc72
updated python and go to new build requirement. added script to create
...
dockers locally
2015-02-05 12:07:12 +01:00
obscuren
db7c34a9df
Default gas price and default gas for rpc
2015-02-04 18:34:29 -08:00
obscuren
a1b4547a53
set uncles regardless of empty uncle list. Fixes invalid blocks being mined
2015-02-04 18:26:23 -08:00
obscuren
57f95c1dc7
fixed test
2015-02-04 17:35:49 -08:00
obscuren
1d519854e2
Propagate known transactions to new peers on connect
2015-02-04 17:28:54 -08:00
obscuren
292f7ada8e
Merge branch 'develop' into miner
2015-02-04 15:05:49 -08:00
obscuren
65158d39b0
Filtering
2015-02-04 15:05:47 -08:00
obscuren
7c278d6ac2
updated tests
2015-02-04 12:52:34 -08:00
Taylor Gerring
429077a5a0
Merge branch 'develop' of github.com:tgerring/go-ethereum into develop
2015-02-04 10:58:18 -06:00
Taylor Gerring
2656a2d038
Use different default RPC port per #186
2015-02-04 10:57:47 -06:00
obscuren
3f03197dae
Updated tests
2015-02-04 07:39:02 -08:00
CJentzsch
83258456d3
remove false tests
2015-02-04 16:23:54 +01:00
CJentzsch
936a8c0e3b
python fail
2015-02-04 16:21:06 +01:00
obscuren
b1870631a4
WIP miner
2015-02-04 05:53:22 -08:00