Commit Graph

1662 Commits

Author SHA1 Message Date
Kirill Fedoseev 0e922bd841 Implement block reward contract feature 2020-06-13 16:28:35 +03:00
Sai V d205bdbda7
Improve cache implementation and error handling for permissions (#961) 2020-06-02 20:14:50 -04:00
amalraj 72ad6db167
raft: return error if block processing is aborted (#992) 2020-05-12 15:32:50 -04:00
Trung Nguyen 3034c75403
fix linting issues (#995) 2020-05-11 16:15:27 -04:00
Sai V b4e2199ca1
Enable networks to change maxCodeSize multiple times (#975) 2020-04-30 11:48:23 -04:00
Sai V c215989c10
Quorum geth upgrade to 1.9.7 (#960)
Co-authored-by: amalraj.manigmail.com <amalraj.manigmail.com>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Co-authored-by: Flash Sheridan <flash@pobox.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Nguyen Kien Trung <trung.n.k@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Rob Mulholand <rmulholand@8thlight.com>
Co-authored-by: Felföldi Zsolt <zsfelfoldi@gmail.com>
Co-authored-by: soc1c <soc1c@users.noreply.github.com>
Co-authored-by: Rafael Matias <rafael@skyle.net>
Co-authored-by: gary rong <garyrong0905@gmail.com>
Co-authored-by: Lucas Hendren <lhendre2@gmail.com>
Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com>
Co-authored-by: ywzqwwt <39263032+ywzqwwt@users.noreply.github.com>
Co-authored-by: zcheng9 <zcheng9@hawk.iit.edu>
Co-authored-by: zzy96 <zhou0250@e.ntu.edu.sg>
Co-authored-by: kikilass <36239971+kikilass@users.noreply.github.com>
Co-authored-by: Darrel Herbst <dherbst@gmail.com>
Co-authored-by: Ross <9055337+Chadsr@users.noreply.github.com>
Co-authored-by: Jeffery Robert Walsh <rlxrlps@gmail.com>
Co-authored-by: Marius Kjærstad <sandakersmann@users.noreply.github.com>
Co-authored-by: Piotr Dyraga <piotr.dyraga@keep.network>
Co-authored-by: Guillaume Ballet <gballet@gmail.com>
Co-authored-by: Michael Forney <mforney@mforney.org>
Co-authored-by: Samuel Marks <807580+SamuelMarks@users.noreply.github.com>
2020-04-29 10:50:56 -04:00
Zhou Zhiyao 4b125de4f2
Bloom filter fixes (#945)
Co-authored-by: Samer Falah <samer.falah@jpmchase.com>
2020-02-25 09:53:22 -05:00
Sai V 439f52942a
added a maxCodeSizeChangeBlock to track the block height when maxCodeSize changes from default value of 24K to the given value in genesis.json (#947) 2020-02-21 12:38:55 -05:00
Sai V 8c50cb09e7
IBFT private state commit issue in a single validator node network (#938) 2020-02-11 15:21:13 -05:00
Peter Fox a603e74570 Rename the transaction manager package to make it more neutral (#895) 2020-01-08 11:15:55 -05:00
Peter Fox 6d25447d64 Update file descriptor limits for macOS (#892)
* Introduces proper file handle limits for darwin based OSes (macOS/OSX)
for working with Go 1.12
2019-12-03 10:13:33 -05:00
Zhou Zhiyao b7edc0b6c9 Fix premature abort during blocks processing for raft (#881)
* fix premature abort during blocks processing for raft
2019-11-29 14:13:37 -05:00
Sai V 5cb92ceb3c Fix for Raft stability (#886)
* increased the size of blockProposal and chainHeadEvent channels. Changed the call to mintNewBlock from a go routine to a function call. Changes done to improve performance of Raft in high load envs
2019-11-21 12:04:12 -05:00
vsmk98 cf6e64b513 permission: updated map limits for different caches 2019-10-02 07:48:19 +08:00
vsmk98 3f88b216b7 permission: increased the LRU cache size for permissions 2019-09-30 16:49:20 +08:00
vsmk98 3242dc85f7 permission: Fixed broken unit tests for permissions cache 2019-09-27 16:04:11 +08:00
vsmk98 532ba24f48 permission: Added qip714Block check to GetAccountAccess. Corrected comments 2019-09-27 11:40:59 +08:00
vsmk98 4280bdadac permission: Enabled QIP714Block to allow staggered migration of network for enabling new permissions 2019-09-26 15:38:45 +08:00
vsmk98 afb61f089c permission: removed unused code 2019-09-24 17:09:22 +08:00
vsmk98 0605495bef permission: corrected typo on subOrgBreadth and Deapth variable names 2019-09-24 14:03:08 +08:00
vsmk98 fa74bec4be Merge remote-tracking branch 'remotes/qeng/permissioning-enodeid' into feature/permissioning-1.8.18-suborgs-docs 2019-09-12 09:52:28 +08:00
Trung Nguyen 712f4907ee
permission: refactor hex node id to avoid many changes 2019-09-09 16:19:57 -04:00
Trung Nguyen 40342a1322
permission: minor fixes 2019-09-09 10:28:09 -04:00
vsmk98 50f5852ae4 permission: removed unnecessary mux from permissions_cache.go, added additional unit test for permissions cache, code clean up and documentation change 2019-09-09 15:53:15 +08:00
Trung Nguyen a5c8e7af32
permission: minor fixes and update with master 2019-09-04 14:39:53 -04:00
vsmk98 82fd20b084 permission: unit tests for permission apis 2019-08-30 15:28:35 +08:00
vsmk98 ee0ca9772f Core: Added key store and api test cases 2019-08-29 15:55:45 +08:00
vsmk98 973caccef5 permission: added go tests for permissions cache management 2019-08-19 16:51:43 +08:00
Zhou Zhiyao 4b45dd2004 Minor fixes (#803) 2019-08-17 08:37:57 -04:00
vsmk98 1f0da48be6 permission: changed to pass the exact error message based on checkAccount response 2019-08-14 14:28:30 +08:00
vsmk98 01f4e9b131 permission: node validation changed from string compare to enode id match in ValidateNodeForTxn 2019-08-14 14:15:02 +08:00
Libby Kent 7e87e40340 VM read-only mode: check `operation.writes` not `op.isMutating`.
`op.isMutating()` was added for checking mutating VM operation, but `operation.writes`
should be used now as it registers all mutating ops and is consistent with upstream.
Additionally, there is a new  mutating opcode `CREATE2`, but `CREATE2` has not been added to the
`op.isMutating()` set. The VM is in read-only mode when a private contract calls a public contract.
2019-08-12 10:14:23 -04:00
vsmk98 2e63f9c9e8 Merge remote-tracking branch 'remotes/upstream/master' into feature/permissioning-1.8.18-suborgs-docs
# Conflicts:
#	cmd/geth/consolecmd_test.go
#	core/vm/evm.go
#	docs/Getting Started/Getting-Started-From-Scratch.md
#	docs/Permissioning/Framework/Quorum Network Security/Nodes/Permissioning/Network Permissioning.md
#	docs/Permissioning/Old Permissioning.md
#	docs/README.md
#	docs/Security/Security & Permissioning.md
#	mkdocs.yml
2019-08-06 11:48:12 +08:00
Brajesh Awasthi baa7efcf3d max code size option in genesis config (#786) 2019-08-02 15:53:15 -04:00
vsmk98 b966118614 permissions: added blacklisted account recovery and approval. 2019-08-02 10:28:20 +08:00
vsmk98 b74fc4d0c2 permissions: added functions for blacklisted node recovery. 2019-08-01 11:10:50 +08:00
vsmk98 21780cf12f permission: added safemath checks for map index access. updated documentation. Added event for network boot status update 2019-07-30 16:56:44 +08:00
Christian Muehlhaeuser acb00b6cf1 Fixed typos (#781)
Typo fixes.
2019-07-25 15:31:38 -04:00
libby kent e0564f7b41 Adding QuorumPrivateTxSigner for signing and recovering private txs. (#767)
Refactor private transaction signing and add a QuorumPrivateTxSigner for signing and recovering private txs.
2019-07-11 13:32:19 -04:00
amalraj.manigmail.com 6d8f451f45 Merge remote-tracking branch 'remotes/quoeng/feature/permissioning-1.8.18-suborgs-docs' into permissioning-suborgs-review
# Conflicts:
#	cmd/geth/main.go
#	controls/bind/permission/permission_impl.go
#	controls/bind/permission/permission_interface.go
#	controls/bind/permission/permission_upgr.go
#	core/types/permissions_cache.go
#	docs/README.md
#	docs/permissions.md
#	eth/backend.go
#	internal/ethapi/api.go
#	permission/api.go
#	permission/bind/implementation.go
#	permission/bind/interface.go
#	permission/bind/permission_impl.go
#	permission/bind/permission_interface.go
#	permission/bind/permission_upgr.go
#	permission/bind/upgradable.go
#	permission/contract/OrgManager.sol
#	permission/contract/PermissionsInterface.sol
#	permission/contract/PermissionsUpgradable.sol
#	permission/contract/abi/OrgManager.abi
#	permission/contract/abi/PermissionsImplementation.abi
#	permission/contract/abi/PermissionsInterface.abi
#	permission/permission.go
2019-07-08 18:57:26 +08:00
Trung Nguyen 74337c7167
added unit tests and comments 2019-06-13 13:41:28 -04:00
Trung Nguyen bacd5dc3c9
non-party must refund gas for private transactions 2019-06-12 17:09:49 -04:00
vsmk98 44089d1be6 permission: Standardising the rpc response object in line with JSON RPC response struct as per review comments 2019-06-03 11:54:13 +08:00
vsmk98 bc91ea034b permission: Code changes as per review comments 2019-05-31 14:29:09 +08:00
vsmk98 b6f4529629 permission: Code changes as per review comments 2019-05-31 14:25:56 +08:00
libby kent d1475ee296 Adding signer tests for EIP155, Homestead and private tx. (#682)
Adding signer tests for EIP155, Homestead and private tx.
2019-05-24 15:46:49 -04:00
vsmk98 57c7b2c37b permission: added check to ensure that network admin org cannot be deactivated 2019-05-22 18:34:59 +08:00
Trung Nguyen bc204f148d
run goimports 2019-05-20 11:23:12 -04:00
vsmk98 dff3a833af permission: refactored executePermAction function 2019-05-18 08:00:00 +08:00
vsmk98 0cd8c89018 permission: code clean up based on review comments 2019-05-17 16:12:53 +08:00