good morning!!!!

Skip to content
Snippets Groups Projects
Select Git revision
  • 856e371494bab94984371763f53f114b4cef3547
  • master default protected
  • mafredri/http2
  • danielle/type-error-return
  • mafredri/origin-check
  • fix-license-1
  • mafredri/build-add-makefile
  • mafredri/build-update-to-go1.22
  • mafredri/fix-ci-script-tool-version
  • dependabot/go_modules/internal/examples/internal-deps-4cadc2be3d
  • dependabot/go_modules/internal/examples/internal-deps-46eeb9c117
  • dependabot/go_modules/internal/examples/internal-deps-022ca1aea3
  • mafredri/chore-update-dependabot
  • dependabot/go_modules/internal/thirdparty/github.com/lesismal/nbio-1.5.12
  • dependabot/go_modules/internal/examples/golang.org/x/time-0.7.0
  • dependabot/go_modules/internal/thirdparty/github.com/lesismal/nbio-1.5.11
  • ethan/close-order
  • mafredri/chore-remove-funding
  • mafredri/fix-ci
  • dependabot/go_modules/internal/thirdparty/github.com/gobwas/ws-1.4.0
  • dependabot/go_modules/internal/thirdparty/github.com/gorilla/websocket-1.5.3
  • v1.8.14
  • v1.8.13
  • v1.8.12
  • v1.8.11
  • v1.8.10
  • v1.8.9
  • v1.8.8
  • v1.8.7
  • v1.8.6
  • v1.8.5
  • v1.8.4
  • v1.8.3
  • v1.8.2
  • v1.8.1
  • v1.8.0
  • v1.7.4
  • v1.7.3
  • v1.7.2
  • v1.7.1
  • v1.7.0
41 results

ws_js.go

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ethereum.go 532 B
    package main
    
    import (
      "fmt"
    )
    
    func main() {
      InitFees()
    
      bm := NewBlockManager()
    
      tx := NewTransaction(0x0, 20, []string{
        "SET 10 6",
        "LD 10 10",
        "LT 10 1 20",
        "SET 255 7",
        "JMPI 20 255",
        "STOP",
        "SET 30 200",
        "LD 30 31",
        "SET 255 22",
        "JMPI 31 255",
        "SET 255 15",
        "JMP 255",
      })
      tx2 := NewTransaction(0x0, 20, []string{"SET 10 6", "LD 10 10"})
    
      blck := NewBlock([]*Transaction{tx2, tx})
    
      bm.ProcessBlock( blck )
    
      fmt.Printf("rlp encoded Tx %q\n", tx.Serialize())
    }