$GOPATH/src/github.com/elastos/Elastos.ELA.SideChain.ESC
.go
doesn't use a relative path for import, working in any other directory will have no effect, since the import paths will be appended to $GOPATH/src.
If the lib doesn't exist, the version at master HEAD will be downloaded.Elastos.ELA.SideChain.ESC
, let's say from github.com/elastos/Elastos.ELA.SideChain.ESC
. Clone or move your fork into the right place:govendor fetch <import-path>
, then commit the result.govendor fetch +v
.govendor generate +l
.$GOPATH/bin
.-cpu
(number of cores allowed) and -v
(logging even if no error) is recommended.geth
can execute node behavior monitoring, aggregation, and show performance metric charts. Read more about metrics and monitoring.geth
is started with the --pprof
option, a debugging HTTP server is made available on port 6060. You can bring up http://localhost:6060/debug/pprof to see the heap, running routines, etc. By clicking full goroutine stack dump (clicking http://localhost:6060/debug/pprof/goroutine?debug=2) you can generate a trace that's useful for debugging.geth
, this port will only work for the first instance that was launched. If you want to generate stack traces for these other instances, you need to start them up by choosing an alternative pprof port. Make sure you are redirecting stderr to a logfile.-QUIT
signal with kill
:master
branch (unless by explicit agreement, you contribute to a complex feature branch).