• santicomp2014's avatar
    trojan, pss, pss_test: pss port from Swarm (#466) · d2b3746a
    santicomp2014 authored
    * trojan,pss,pss_test: added pss base, still have to fix logging metrics and tests
    
    * pss,pss_test,mock,trojan: added tests for pss
    
    * mock,pss_test: added LastPullSubscription in mock store with @acud, still needs another pass to finish it
    
    * mock: add init for bins
    
    * pss: changed localstore to storer
    
    * pss_test: changed recovery topic to generic pss topic
    
    * pss_test: deadline added to TestPssMonitor
    
    * pss_test: deadline added to TestPssMonitor
    
    * pss_test: deadline added to TestPssMonitor
    
    * pss_test: deadline added to TestPssMonitor
    
    * pss_test: skip TestTrojanChunkRetrieval refactor in progress
    
    * pss_test: removed TestTrojanChunkRetrieval until refactor complete
    
    * pss,pss_test: pss refactored removed Monitor struct replaced with tags, also replaced storer.Put with pushsync
    
    * pss_test: disabled checks for tag in TestPssMonitor
    
    * pss,pss_test: fixed monitor test and removed storer from pss
    
    * pss,pss_test: added metrics and logger to pss
    
    * pss,pss_test: refactored NewPss with Options Struct
    
    * pss,pss_test: changed signature of pss to include ctx and return error
    
    * metrics,pss,pss_test,pusher_test: refactored to interfaces and cleanup of tests
    
    * pss,pss_test: changed Deliver to TryUnwrap
    
    * pss: refactored metrics
    
    * pss,pss_test: refactored Interface again for testing
    
    * pss: fixed error not being used
    
    * pss_test: fix in test and rename TestPssMonitor to TestPssTags
    
    * pss_test: fixed deepsource complaint
    
    * pss_test: fixed deepsource complaint
    
    * pss_test: remove unsed Store struct
    
    * pusher_test: rollback changes done in pusher test
    
    * mock: revert storer mock to master, these changes are not necesarry any more
    
    * pss_test: remove state stored from tags, not needed in tc
    
    * pss_test: removed tag.Total in Send, not needed
    
    * pss_test: removed comment on Store state, since this was removed, cleanup
    
    * pss: removedlong in TryUnwrap comment
    
    * pss,pss_test: removed tags and deferenced handler
    
    * fix test case
    
    * pss_test: added more info in debug comment
    
    * pss_test: added err check in Unwrap
    Co-authored-by: default avataracud <12988138+acud@users.noreply.github.com>
    d2b3746a
metrics.go 733 Bytes