Imports github.com/bcos-one/BCOS/event github.com/bcos-one/BCOS/log github.com/bcos-one/BCOS/p2p github.com/bcos-one/BCOS/p2p/enode github.com/bcos-one/BCOS/p2p/simulations/adapters github.com/bcos-one/BCOS/rpc github.com/julienschmidt/httprouter golang.org/x/net/websocket Standard library imports bufio bytes context encoding/json fmt io io/ioutil math/rand net/http strconv strings sync time