1. 28 Jan, 2021 2 commits
  2. 27 Jan, 2021 3 commits
  3. 25 Jan, 2021 2 commits
  4. 20 Jan, 2021 10 commits
  5. 19 Jan, 2021 1 commit
  6. 18 Jan, 2021 15 commits
  7. 15 Jan, 2021 7 commits
    • Kirill Smelkov's avatar
      Merge branch 'master' into t · 29cd458b
      Kirill Smelkov authored
      * master: (25 commits)
        go/neo/neonet: Teach Dial to autodetect server encoding
        go/neo/neonet: MessagePack support for link layer (draft)
        go/neo/proto: Cosmetics
        go/neo/proto: MessagePack support for messages (draft)
        go/neo/internal/msgpack: New package with runtime support for MessagePack
        go/neo/proto: protogen: Prepare to generate code for struct heads
        go/neo/proto: protogen: Factor-out handling of slice and map heads into common place
        go/neo/proto: protogen: Fix naming thinko in decoderN.genBuf
        go/neo/proto: Introduce Encoding
        go/neo/proto: Unexport Msg.NEOMsg{Encode,Decode}
        go/neo/proto: Kill outdated TODO
        go/neo/proto: Unexport Msg.NEOMsgCode
        go/neo/proto: protogen: Reuse sizer for typeSizeFixed
        go/neo/proto: protogen: Load zodb.Tid and zodb.Oid types
        go/neo/proto: protogen: Factor-out code to lookup object for <pkg>.<name> into common function
        go/neo/proto: protogen: Clarify criteria to detect []byte
        go/neo/proto: protogen: Fix it not to silently skip a pointer field
        go/neo/proto: AddrString: Also treat lonet networks as having addr in host:port form
        go/neo/neonet: Adjust pktAlloc to always allocate pktBuf with cap >= PktHeaderSize
        go/neo/neonet: Factor-out decode of packet header into pktHeadDecode
        ...
      29cd458b
    • Kirill Smelkov's avatar
      . · 91855c03
      Kirill Smelkov authored
      91855c03
    • Kirill Smelkov's avatar
      go/neo/neonet: Teach Dial to autodetect server encoding · ce89d01a
      Kirill Smelkov authored
      NEO/go server accepts preferred encoding of client from start, but
      NEO/py server implements either N or M encoding and disconnects client
      silently if handshake is not exactly what is expected.
      
      However we can teach Dial to retry with different preferred options and
      this way when connection to a NEO/py server, it will essentially
      autodetect which encoding is used and accepted by remote peer.
      ce89d01a
    • Kirill Smelkov's avatar
      X unexport neonet.DialEncTryOrder · 99ea2b93
      Kirill Smelkov authored
      99ea2b93
    • Kirill Smelkov's avatar
      go/neo/neonet: MessagePack support for link layer (draft) · 7f1d0c39
      Kirill Smelkov authored
      This patch adds support for serializing packet frames with M encoding on
      the wire. To do so it follows rules defined in
      
          	nexedi/neoppod@9d0bf97a
          	( nexedi/neoppod!11 )
      
      Server handshake is reworked to autodetect client's preferred encoding.
      Client always prefers 'N' for now.
      7f1d0c39
    • Kirill Smelkov's avatar
      X move handshake do to neonet · c3fb22a4
      Kirill Smelkov authored
      c3fb22a4
    • Kirill Smelkov's avatar
      . · fad6baf1
      Kirill Smelkov authored
      fad6baf1