Commit Graph

413 Commits (7dd78dd52fc16472302b2db7df864ea657649add)

Author SHA1 Message Date
ak c2209baa37 adding a way to test node and id chain locally 6 years ago
ak 6ae885f1d7 node cleanup identitychain accepts connects to be registered 6 years ago
alok 343f5f5f46 fixing build 6 years ago
Leo Chen 19c0046622 Fix a build error of undefined: identity.Announce 6 years ago
Minh Doan de33e8a1a1 uncomment some code to get it built. alok will work on this later 6 years ago
Minh Doan e6e4e4a7dd cleaning up code 6 years ago
Minh Doan 0e34dcf448 fix a lot of basic mistakes. See https://docs.google.com/document/d/1eIuVFnRra8Ggnj5zSTcGLn9iXGwHEdOHGC6-gHvvuGc 6 years ago
Minh Doan ef2521e068 refactor: changing constant from ALLCAPS to format of gofmt 6 years ago
Minh Doan 9270730f76 fix comments. change constant TRANSACTION to Transaction 6 years ago
Rongjian Lan cd9a17eaa4 Log invalid transactions discarded before creating each new block 6 years ago
Eugene Kim 8ba4f7ac5d Add an exponential back off upon accept failure 6 years ago
Eugene Kim bf44dce3c6 Log error code upon accept failure 6 years ago
Eugene Kim 560cfa8b15 Simplify deferred listener close logic 6 years ago
Eugene Kim 778784c1ec Bail out if net.Listen returns nil listener with no error 6 years ago
Eugene Kim dbc28e6fcf Use net.JoinHostPort() instead of hand-joining 6 years ago
Minh Doan 4328d72652 add self peer to node 6 years ago
Minh Doan 945de9f852 clean up 6 years ago
Minh Doan 1d89e89231 using syncing package instead 6 years ago
Minh Doan 2d46c18170 fix bug 6 years ago
Minh Doan c097113ca5 add sync package 6 years ago
Minh Doan c1368df687 add sync logic 6 years ago
Minh Doan a89e59300a add synchronized queue for syncing task 6 years ago
Minh Doan e7cb022721 add logic for syncing 6 years ago
Minh Doan 428387f34a clean up 6 years ago
Minh Doan 93a7f92136 add more wires for syncing. add flag node_sync to assume the new node will start with sync first. also fix some code of identitychain which make some copies of struct containing Mutex 6 years ago
ak 4f7790c5ec IDC (almost there) 6 years ago
ak c2eb7020c1 working pow 6 years ago
ak 6632cea6de working pow 6 years ago
Rongjian Lan 945f25c65b Update utxo with state block; refactor utxo counter func 6 years ago
Minh Doan 12f31bcbef init blockSyncing and doneSyncing channel 6 years ago
Minh Doan b7f0d7765d add logic for waiting for syncing finish 6 years ago
Rongjian Lan 514262be2e explicitly return tx verification error and increase block tx num 6 years ago
ak 9d597754d2 WIP commit 6 years ago
Minh Doan d75bdc5566 fix small thing by good practice 6 years ago
Rongjian Lan f93b1eecb9 Add wallet transfer functionality; Add transaction serialization; Refactor wallet utitlity and reuse wallet server; Bytes util; utxoPool crossShard check 6 years ago
Rongjian Lan d4f1654c5b Add FetchUtxoMessage and corresponding messaging code 6 years ago
Rongjian Lan 54a6def5ac Add import private key and check balance functionalities to wallet 6 years ago
Minh Doan 6cd04086f6 refactor db init 6 years ago
Minh Doan 9e645f186e enable leveldb into blockchain 6 years ago
Rongjian Lan 7cfa59eddf Fix some mismatch between addresses for benchmark 6 years ago
Rongjian Lan 812df64b3b Add transaction signature; Add signing process; Integrate with Consensus and Verification process 6 years ago
Rongjian Lan 8c167c1d14 Migrate address from string to [20]byte 6 years ago
Richard Liu 7ad223816f update for github.com folder structure 6 years ago
Minh Doan 7f3c717092 return consensus pointer instead a copy which contains mutex 6 years ago
Minh Doan 7ebcc89cdb refactor to avoid returning a copy of a struct containing lock 6 years ago
Minh Doan 68f344ade5 refactor node module 6 years ago
Rongjian Lan c8627fa32a Refactor tx generator methods and add more comments 7 years ago
Rongjian Lan 9dddde559b Add block sync function for leader to send new blocks to client 7 years ago
Rongjian Lan 745755699e Fix cross shard tx bug; add utxo pool sync for client to keep up with the leaders 7 years ago
Minh Doan 26f31e5fbe add todo and add golint script 7 years ago