Commit Graph

700 Commits (720f9a6a026d03a979d6234264338127858cc761)

Author SHA1 Message Date
ak 3d04f91a35 fix golint gofmt 6 years ago
ak 23487d8c9e making transaction declaration inline 6 years ago
ak dfc8a13baa fixing smart contracts adding 6 years ago
ak b92ef4b9ff adding contract data 6 years ago
ak f4985f4076 smart contract invocation 6 years ago
Rongjian Lan fab7023718 Merge conflict 6 years ago
ak fa2db31edc responding to RJ's changes 6 years ago
Leo Chen 1207378606 HAR-65: move remove peer handler to node package 6 years ago
ak 1924a34377 cleaning up 6 years ago
Leo Chen 53a5c3c856 HAR-65: support node removal after node is offline 6 years ago
ak 64346a9c4e adding smart contract transaction to pending transactions 6 years ago
Minh Doan 2bf9e7e7ec use struct{} which is size 0, good practice for many go programmers 6 years ago
Minh Doan 25ca704f89 move syncing under services 6 years ago
Richard Liu 64230da6ee abstract out 2 versions of p2p 6 years ago
Minh Doan 3162eeee7a avoid conflict with beacon chain port which is 8081 6 years ago
Leo Chen ab4a61d360 use a better way to stop ping message 6 years ago
Leo Chen 54e4a7baa2 client node ping leaders to register client 6 years ago
Minh Doan 46212eb359 length of syncing peers should be 1 now 6 years ago
Minh Doan 39cb555615 add logic of syncing 6 years ago
Minh Doan 284a765fd9 change logic of syncing 6 years ago
Richard Liu b2b68d0055 update node.StartServer 6 years ago
Minh Doan e028236935 add syncing port logic for syncing 6 years ago
Minh Doan d32aa3826a fix golint 6 years ago
Minh Doan 461db024bc add dosyncing for node and fix test of getpeer 6 years ago
Minh Doan b6dd823812 write get peers to do syncing 6 years ago
Rongjian Lan 036023869f Implement valid selection for account model txs 6 years ago
Leo Chen 62f1f60924 HAR-65: use constants for backoff 6 years ago
Leo Chen 0407dc559b HAR-65: send redundant Pong messages to validators 6 years ago
Leo Chen 03e7320ca9 HAR-65: set unique validatorID based on leader's assignment 6 years ago
Leo Chen 4a41e67c87 HAR-65: optimize the pong message sending 6 years ago
Minh Doan ddf0e3cc52 move p2p logic into seperate files 6 years ago
Minh Doan 0a573c104e gix golint 6 years ago
Rongjian Lan e7e7772858 Delete temp bft.go and integrate the interface into consensus.go 6 years ago
Leo Chen 76375a2425 HAR-84: golint fix of p2p/peer.go 6 years ago
Rongjian Lan 9762051ebb Add shard Id into txgen and make it work 6 years ago
Minh Doan 8902365c45 clean up code 6 years ago
Richard Liu ba47c85faf ip+port => peer; update signature of consensus.New and node.New as preparation for p2p 6 years ago
Minh Doan 1525d75484 enable back the syncing service by assigning syncing port equal to node port - 1000. with that, all the syncing ports will be different 6 years ago
Richard Liu 9ac2645935 integrate libp2p as version 2 p2p 6 years ago
Leo Chen 44f5e85433 [HAR-83] peer discovery works under account model 6 years ago
Minh Doan dbe474a25c change the listened address 6 years ago
Minh Doan 29a5cc563e add some more State and set up syncing in each node 6 years ago
Minh Doan c2263ed53d change the listened address 6 years ago
Minh Doan 45e0eeb728 add some more State and set up syncing in each node 6 years ago
Leo Chen 91f804eb13 [HAR-5] Leader populates public keys to all validators 6 years ago
Rongjian Lan a4200bccb1 Fully integrate with tx gen by account model 6 years ago
Minh Doan fadc5b086d setup syncing server in a node 6 years ago
Rongjian Lan 5b1324305e Add loop in new block creation 6 years ago
Leo Chen d8f0d504cc fix validatorID not populated to all validator issue 6 years ago
Rongjian Lan c1ef9423f2 Add account-based tx gen 6 years ago