// Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // The go-ethereum library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see . package api import ( "encoding/json" "math/big" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/rpc/shared" ) type StartMinerArgs struct { Threads int } func (args *StartMinerArgs) UnmarshalJSON(b []byte) (err error) { var obj []interface{} if err := json.Unmarshal(b, &obj); err != nil { return shared.NewDecodeParamError(err.Error()) } if len(obj) == 0 || obj[0] == nil { args.Threads = -1 return nil } var num *big.Int if num, err = numString(obj[0]); err != nil { return err } args.Threads = int(num.Int64()) return nil } type SetExtraArgs struct { Data string } func (args *SetExtraArgs) UnmarshalJSON(b []byte) (err error) { var obj []interface{} if err := json.Unmarshal(b, &obj); err != nil { return shared.NewDecodeParamError(err.Error()) } if len(obj) < 1 { return shared.NewInsufficientParamsError(len(obj), 1) } extrastr, ok := obj[0].(string) if !ok { return shared.NewInvalidTypeError("Price", "not a string") } args.Data = extrastr return nil } type GasPriceArgs struct { Price string } func (args *GasPriceArgs) UnmarshalJSON(b []byte) (err error) { var obj []interface{} if err := json.Unmarshal(b, &obj); err != nil { return shared.NewDecodeParamError(err.Error()) } if len(obj) < 1 { return shared.NewInsufficientParamsError(len(obj), 1) } if pricestr, ok := obj[0].(string); ok { args.Price = pricestr return nil } return shared.NewInvalidTypeError("Price", "not a string") } type SetEtherbaseArgs struct { Etherbase common.Address } func (args *SetEtherbaseArgs) UnmarshalJSON(b []byte) (err error) { var obj []interface{} if err := json.Unmarshal(b, &obj); err != nil { return shared.NewDecodeParamError(err.Error()) } if len(obj) < 1 { return shared.NewInsufficientParamsError(len(obj), 1) } if addr, ok := obj[0].(string); ok { args.Etherbase = common.HexToAddress(addr) if (args.Etherbase == common.Address{}) { return shared.NewInvalidTypeError("Etherbase", "not a valid address") } return nil } return shared.NewInvalidTypeError("Etherbase", "not a string") } type MakeDAGArgs struct { BlockNumber int64 } func (args *MakeDAGArgs) UnmarshalJSON(b []byte) (err error) { args.BlockNumber = -1 var obj []interface{} if err := json.Unmarshal(b, &obj); err != nil { return shared.NewDecodeParamError(err.Error()) } if len(obj) < 1 { return shared.NewInsufficientParamsError(len(obj), 1) } if err := blockHeight(obj[0], &args.BlockNumber); err != nil { return err } return nil } _and_yarn/devel/electron6/files/ini-1.3.8'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/www
Commit message (Expand)AuthorAgeFilesLines
* Upgrade to 5.36, and make it compatible with perl5.00501.vanilla1998-08-063-158/+158
* Compatible with perl5.00501.vanilla1998-08-062-16/+16
* Upgrade to 1.019, and make it compatible with perl5.00501.vanilla1998-08-063-60/+60
* Rename all USE_X11 to USE_X_PREFIX. Requires 1.279 (3.0-current) orasami1998-08-053-6/+6
* "ln -s" -> "ln -sf" to make this port reinstall-friendly.asami1998-08-055-15/+15
* Upgrade to Website META Language, Version 1.6.7rse1998-08-023-4/+6
* You don't need to use "+=" for a variable only defined once....asami1998-08-011-2/+2
* Activate web500gw.nectar1998-08-011-1/+2
* HTTP gateway to LDAP-based directories.nectar1998-08-016-0/+174
* language supportandreas1998-07-312-2/+66
* Install sample comfig file as $PREFIX/etc/webalizer.conf-distandreas1998-07-304-2/+12
* Another batch of add homepage. In general I've avoided any linkshoek1998-07-281-0/+2
* Making x11 category more useful project part 1: take out "x11" ofasami1998-07-281-2/+2
* Update to version 2.20.steve1998-07-273-6/+9
* enable apache13-php3andreas1998-07-251-1/+2
* added new port apache3-php3 after repository copyandreas1998-07-2512-204/+600
* Upgraded to last php version 3.0.2andreas1998-07-256-39/+48
* Add --enable-nsl-forkache1998-07-241-2/+3
* --enable-nsl-fork, a-la Netscape DNS fork allowing lookups to be aborted.hoek1998-07-241-2/+3
* WTF did "alphanumeric" mean, anyways? Netscape is alphanumeric-oriented,hoek1998-07-241-1/+1
* Add homepage. Style (s/which/that/).hoek1998-07-241-2/+4
* apachectl: redirect kill output to /dev/nullache1998-07-245-5/+90
* Upgrade to dev17ache1998-07-232-5/+5
* Upgrade to 1.3.1ache1998-07-2330-785/+1145
* Version number part of PKGNAME should be delimited by "." only....asami1998-07-226-12/+12
* Activate htmlpp.dburr1998-07-211-1/+2
* PR: ports/4985dburr1998-07-215-0/+80
* version 1.8.6adam1998-07-202-3/+3
* Repository copy Mesa to Mesa2 and Mesa3. Mark Mesa3 broken pendingasami1998-07-201-2/+2
* upgrade to newest php version 3.0.1andreas1998-07-126-24/+24
* Upgrade to 1.0.3ache1998-07-102-4/+4
* Update maintainer address.jkoshy1998-07-071-2/+2
* Oops! Add forgotten file.nectar1998-07-061-0/+2
* Port cleanup.nectar1998-07-052-18/+24
* Turn on boa.steve1998-07-051-1/+2
* Initial import of boa version 0.92.steve1998-07-057-0/+96
* Add misc. enhancements.steve1998-07-043-0/+780
* No need to put name in front of COMMENT.asami1998-07-032-2/+2
* enable new port webalizerandreas1998-06-281-1/+2
* Import of new port webalizer 1.12.09andreas1998-06-2810-0/+150
* William sent patches to me so support dbase type database...andreas1998-06-273-15/+27
* nuke apache-php entirelyandreas1998-06-271-2/+2
* Remove NO_CONFIGURE and NO_PATCH, they never meant anything.asami1998-06-271-3/+1
* Make this port build again.steve1998-06-272-6/+5
* NO_CONFIGURE is a no-op. Also, remove the post-extract target, gettingasami1998-06-271-6/+1
* Upgrade to Website META Language, Version 1.6.6rse1998-06-253-4/+12
* Make performance tuning conditionaly depends on APACHE_PERF_TUNINGache1998-06-255-30/+80
* Upgrade to 2.18.vanilla1998-06-242-5/+5
* Redirect apachectl output to devnull in apache.shache1998-06-185-10/+10
* Use apachectl to start apache in rc.d/apache.shache1998-06-185-10/+10
* Activate grail.dburr1998-06-161-1/+2
* PR: ports/6923dburr1998-06-165-0/+471
* I don't know why this one was still marked RESTRICTED. While I'masami1998-06-165-35/+30
* Upgrade to Website META Language, Version 1.6.5rse1998-06-164-7/+20
* Make sure configure uses ${PREFIX}/bin/perl instead of /usr/bin/perl.mph1998-06-151-2/+3
* Upgrade to libwww-5.1m1.jseger1998-06-153-10/+47
* Activate cgihtmljseger1998-06-141-1/+2
* Import of a port of cgihtml:jseger1998-06-146-0/+110
* - apache-php port totally revampedandreas1998-06-1415-276/+576
* Increase HARD_SERVER_LIMIT to 512, it is already limited by MaxClientsache1998-06-135-10/+15
* Update to version 4.05jkh1998-06-106-31/+31
* Performance tuning as described in http://www.apache.org/docs/misc/perf-tunin...ache1998-06-105-10/+15
* Update from squid 1.2b20 -> 1.2b22peter1998-06-0918-81/+72
* Remove three nonexistent files.asami1998-06-085-15/+0
* Reflect latest distfile changesache1998-06-073-15/+25
* upgrade to dev14ache1998-06-073-7/+12
* run-depends of apache13 nowache1998-06-071-2/+2
* apache -> apache12ache1998-06-071-2/+2
* apache-current -> apache13ache1998-06-071-2/+2
* Adjust NO_LATEST_LINK (now apache-1.3 is the default) after repositoryasami1998-06-075-15/+5
* Add p5-HTML-Parser.asami1998-06-071-1/+2
* upgrade to 1.3.0ache1998-06-0710-25/+25
* upgrade to 1.3b7ache1998-06-0620-795/+740
* Upgrade to 1.017.vanilla1998-06-043-12/+23
* Import of Apache with MS FrontPage Extensions.mph1998-05-2912-0/+1645
* Activate apache-fp.mph1998-05-291-1/+2
* fix libjpeg version number to correspond with jpeg portdburr1998-05-271